Virtualization of a host computer&#39;s native I/O system architecture via the internet and LANs

ABSTRACT

A hardware/software system and method that collectively enables virtualization of the host computer&#39;s native I/O system architecture via the Internet and LANs. The invention includes a solution to the problems of the relatively narrow focus of iSCSI, the direct connect limitation of PCI Express, and the inaccessibility of PCI Express for expansion in blade architectures.

CLAIM OF PRIORITY

This application claims priority of U.S. Provisional Ser. No. 60/925,430entitled “VIRTUALIZATION OF A HOST COMPUTER'S NATIVE I/O SYSTEMARCHITECTURE VIA THE INTERNET AND LANS” filed Apr. 20, 2007 and theteachings of which are incorporated herein by reference.

FIELD OF THE INVENTION

The present invention relates to computer system date transport.

BACKGROUND OF THE INVENTION

There is growing acceptance of techniques that leverage networkedconnectivity for extending and centralizing the resources of hostcomputer systems. In particular, networked connectivity is being widelyutilized for specialized applications such as attaching storage tocomputers. iSCSI makes use of TCP/IP as a transport for the SCSIparallel bus to enable low cost remote centralization of storage. Theproblem with iSCSI is it has a relatively narrow (storage) focus andcapability.

Another trend is the move towards definition and virtualization ofmultiple computing machines within one host system. Virtualization isparticularly well suited for blade server installations where thearchitecture is optimized for high density compute resources and pooledstorage. The virtualization of CPU cycles, memory resources, storage,and network bandwidth allows for unprecedented mobility, flexibility,and adaptability of computing tasks.

PCI Express, as the successor to PCI bus, has moved to the forefront asthe predominant local host bus for computer system motherboardarchitectures. A cabled version of PCI Express allows for highperformance directly attached bus expansion via docks or expansionchassis. These docks and expansion chassis may be populated with any ofthe myriad of widely available PCI Express or PCI/PCI-X bus adaptercards. The adapter cards may be storage oriented (i.e. Fibre Channel,SCSI), video processing, audio processing, or any number of applicationspecific I/O functions. A limitation of PCI Express is that it islimited to direct attach expansion. A problem with certain blade serverarchitectures is PCI Express is not easily accessible, thus expansion isawkward, difficult, or costly.

Gbps Ethernet is beginning to give way to 10 Gbps Ethernet. Thissignificant increase in bandwidth enables unprecedented high performanceapplications via IP.

SUMMARY OF INVENTION

The invention achieves technical advantages as a hardware/softwaresystem and method that collectively enables virtualization of the hostcomputer's native I/O system architecture via the Internet and LANs. Theinvention includes a solution to the problems of the relatively narrowfocus of iSCSI, the direct connect limitation of PCI Express, and theinaccessibility of PCI Express for expansion in blade architectures.

This invention allows devices native to the host computer native I/Osystem architecture—including bridges, I/O controllers, and a largevariety of general purpose and specialty I/O cards—to be locatedremotely from the host computer, yet appear to the host system and hostsystem software as native system memory or I/O address mapped resources.The end result is a host computer system with unprecedented reach andflexibility through utilization of LANs and the Internet.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 depicts The Computing Machine Virtualization Concept;

FIG. 2 depicts Virtualization Solutions;

FIG. 3 depicts IBM Blade Center (Model H—Front and Rear View);

FIG. 4 depicts NetXen 10 Gb Ethernet Card (left) and Nortel 10 GbEthernet Switch Module (right);

FIG. 5 depicts A Typical PCI Express-based Host System;

FIG. 6 depicts A Typical PCI Express-based Host System with i-PCI HBA;

FIG. 7 depicts i-PCI IP-based Network Implementation Block Diagram;

FIG. 8 depicts i(e)-PCI MAC-Address Switched LAN Implementation BlockDiagram;

FIG. 9 depicts i(dc)-PCI Direct Connected Implementation Block Diagram;

FIG. 10 depicts HBA CCA Block Diagram;

FIG. 11 depicts PCIe RBA CCA Block Diagram;

FIG. 12 depicts Conventional PCI RBA CCA Block Diagram;

FIG. 13 depicts i-PCI Packet Mapping;

FIG. 14 depicts i(e)-PCI Packet Mapping;

FIG. 15 depicts i(dc)-PCI Packet Mapping;

FIG. 16 depicts PCI Express Packets;

FIG. 17 depicts PCI Express TLP Header;

FIG. 18 depicts Ethernet Packets;

FIG. 19 depicts IP Packets;

FIG. 20 depicts TCP Packets;

FIG. 21 depicts PCI Bus TLP Traffic PDU;

FIG. 22 depicts PCI Express DLLP Support (PDS) PDU;

FIG. 23 depicts Command & Control/Synchronization (CCS) PDU;

FIG. 24 depicts Typical PCI System Tree;

FIG. 25 depicts Typical PCI System Tree—Expanded;

FIG. 26 depicts Corresponding Memory Resource Window;

FIG. 27 depicts Corresponding I/O Resource Window;

FIG. 28 depicts i-PCI Protocol Model;

FIG. 29 depicts i-PCI ACK/NAK Overview;

FIG. 30 depicts i(e)-PCI ACK/NAK Overview;

FIG. 31 depicts i(dc)-PCI ACK/NAK Overview;

FIG. 32 depicts i-PCI Host Session Management State Diagram;

FIG. 33 depicts i-PCI Remote I/O Session Management State Diagram;

FIG. 34 depicts i(e)-PCI Host Session Management State Diagram;

FIG. 35 depicts i(e)-PCI Remote I/O Session Management State Diagram;

FIG. 36 depicts i(dc)-PCI Host Session Management State Diagram;

FIG. 37 depicts i(dc)-PCI Remote I/O Session Management State Diagram;

FIG. 38 depicts i-PCI Flow Control;

FIG. 39 depicts PCI Express Flow Control Initialization State Diagram;

FIG. 40 depicts PCI Express Transmitter Flow Control State Diagram;

FIG. 41 depicts PCI Express Receiver Flow Control State Diagram;

FIG. 42 depicts i-PCI TCP Transmitter Network Flow Control StateDiagram;

FIG. 43 depicts i-PCI TCP Receiver Flow Control State Diagram;

FIG. 44 depicts i(e)-PCI Transmitter Flow Control State Diagram;

FIG. 45 depicts i(e)-PCI Receiver Flow Control State Diagram;

FIG. 46 depicts i(dc)-PCI Transmitter Flow Control State Diagram;

FIG. 47 depicts i(dc)-PCI Receiver Flow Control State Diagram;

FIG. 48 depicts i-PCI Error Detection Overview;

FIG. 49 depicts i(e)-PCI Error Detection Overview;

FIG. 50 depicts i(dc)-PCI Error Detection Overview;

FIG. 51 depicts Link PDU, Subtype CSS Error Detection Overview;

FIG. 52 depicts Example Paralleled Architecture;

FIG. 53 depicts i-PCI (WPAN) Data Link;

FIG. 54 depicts 3.1-10.6 GHz WPAN Radio Spectrum;

FIG. 55 depicts 57-66 GHz WPAN Radio Spectrum;

FIG. 56 depicts i-PCI Radio Platform Block Diagram;

FIG. 57 depicts Layer Model;

FIG. 58 depicts i-PCI (WPAN) Protocol Suite;

FIG. 59 depicts i-PCI Encapsulation;

FIG. 60 depicts i-PCI(WPAN) Backbone Installation;

FIG. 61 depicts PCI Express Payload Throughput; and

FIG. 62

BRIEF DESCRIPTION OF TABLES

Table 1 depicts Header Field: “Type”

Table 2 depicts Header Field: “Implementation”

Table 3 depicts Header Field: “Option”

Table 4 depicts HK Header Field: “Status/Command”

Table 5 depicts HK Header Field: “CRC”

Table 6 depicts PCI Express DLLPs and PDU Mapping for i-PCI. 28

Table 7 depicts PCI Express DLLPs and PDU Mapping for i(e)-PCI

Table 8 depicts PCI Express DLLPs and PDU Mapping for i(dc)-PCI

Table 9 depicts Link PDU Header Field: “SubType”

Table 10 depicts Link PDU Header Field: “Buff Util”

Table 11 depicts Link (PDS-specific) PDU Header Field: “Function”

Table 12 depicts Link (PDS-specific) PDU Header Field: “CRC”

Table 13 depicts Link PDU CSS Header Field: “CMD/RSP”.

Table 14 depicts Link PDU CSS Header Field: “Byte Enable”

Table 15 depicts Example PCI □ □ IP Address Mapping

Table 16 depicts Example PCI □ □ MAC Address Mapping

Table 17 depicts Example PCIe TC/VC/TCP Code Fields Mapping

Table 18 depicts Example PCIe TC/VC Multiple Connection Mapping

Table 19 depicts i-PCI Host Session Management State Descriptions

Table 20 depicts i-PCI Remote I/O Session Management State Descriptions

Table 21 depicts i(e)-PCI Host Session Management State Descriptions

Table 22 depicts i(e)-PCI Remote I/O Session Management StateDescriptions

Table 23 depicts i(dc)-PCI Host Session Management State Descriptions

Table 24 depicts i(dc)-PCI Remote I/O Session Management StateDescriptions

Table 25 depicts PCI Express Flow Control Initialization StateDescriptions

Table 26 depicts PCI Express Transmitter Flow Control StateDescriptions.

Table 27 depicts PCI Express Receiver Flow Control State Descriptions

Table 28 depicts i-PCI TCP Transmitter Flow Control State Descriptions

Table 29 depicts i-PCI TCP Receiver Flow Control State Descriptions

Table 30 depicts i(e)-PCI Transmitter Flow Control State Descriptions

Table 31 depicts i(e)-PCI Receiver Flow Control State Descriptions

Table 32 depicts i(dc)-PCI Transmitter Flow Control State Descriptions

Table 33 depicts i(dc)-PCI Receiver Flow Control State Descriptions

Table 34 depicts PCI and PCI Express Data Transfer Rates.

Table 35 depicts i-PCI Data Transfer Rates

Table 36 depicts PCI and PCI Express Overhead

Table 37 depicts i-PCI Overhead

Table 38 depicts Typical PCI and PCI Express Latency

Table 39 depicts i-PCI Latency

Table 40 depicts mmWave Bands

Table 41 depicts UWB Bands

Table 42 depicts i-PCI (WPAN) Tradeoffs

Table 43 depicts mmWave Channel Plan

Table 44 depicts OFDM Sub-mode (>2 Gbps) Comparison

Table 45 depicts SC Sub-mode (>2 Gbps) Comparison

Table 46 depicts AV Sub-mode (>2 Gbps)

DETAILED DESCRIPTION OF THE PRESENT INVENTION

This section of the specification summarizes the goals and intent ofi-PCI, provides some perspective on i-PCI as a virtualization solutionand presents the value proposition for i-PCI.

Goals of i-PCI

The major goals of i-PCI are:

-   -   Enable networked high-performance memory-mapped computer I/O        expansion.    -   Leverage intranets and the Internet as a network transports.    -   Host operating system transparency.    -   Application software transparency    -   I/O driver transparency.    -   PCI System transparency.    -   User configurable topology and performance tradeoff options.    -   Data throughput performance that approaches that of 4-lane 2.5        Gbps PCIExpress.

Feature List

-   -   Encapsulation of the PCI Express Protocol for transport over an        Internet via TCP/IP.    -   Encapsulation of the PCI Express Protocol for transport over a        local intranet via Ethernet (IEEE 802.3):    -   High End Direct Connection to an I/O chassis via 10 Gbps        Ethernet (IEEE 802.3an) for mapping to 4-lane 2.5 Gbps PCI        Express or 2-Lane 5 Gbps PCI Express.    -   Connection to a network of I/O chassis via 10 Gbps Ethernet and        Ethernet switches.    -   Direction Connection to an an I/O chassis via 10 Gbps Ethernet    -   Low End Direct Connection to an I/O chassis:    -   Triple link aggregation 1 Gbps Ethernet (802.3ab) for mapping to        1-Lane 2.5 Gbps PCI Express.    -   Single link 1 Gbps Ethernet for mapping 1-Lane 2.5 Gbps PCI        Express to a conventional 32-bit/33 MHz PCI bus.    -   Validation with Microsoft Windows Host operating system.    -   Architecture designed to be operating system agnostic.    -   Application Software transparency. Applications running on the        host system are essentially unaffected by the fact that the I/O        is not located at the host.    -   Most applications will not need to be modified to accommodate        i-PCI.    -   I/O Driver transparency. Off-the-Shelf drivers implemented on        the host system are unaware that the I/O is not located locally.    -   Special drivers are not required for most I/O cards. Drivers        that ship with most PCI or PCI Express based I/O cards will work        in a system that implements i-PCI.    -   PCI System transparency. The host system is unaware that the I/O        is not located locally.    -   PCI System enumeration fully supported.    -   Plug-and-Play features of MS Windows OS fully supported.    -   User Configurable Protocol:    -   Extensive configuration options to tradeoff performance for        features.    -   Deterministic behavior options to optimize predictability.    -   Latency tradeoff options allow user to minimize latency in        time-sensitive applications.    -   User Configurable Topology:    -   Multiple IEE 802.3 interconnect options for a given application.    -   256 busses/links (maximum) are possible, enabling a very large        distributed computer system.    -   PCI and PCI-X links allow up to 32 devices per bus/link,        enabling a large number of add-in cards at each remote I/O        location.    -   Each device can have 8 internal functions.    -   PCI Express links are point-to-point so allow one endpoint        device per link.    -   Each endpoint device can have 8 internal functions    -   User-Enabled Two-Level System Optimization Algorithms    -   System analysis algorithm executes as part of resource discovery        and enumeration.    -   HBA i-PCI data transfer learning algorithm adjusts data        transfers based on past performance data.        i-PCI, PCI Express, and PCI System Architecture Compliance

i-PCI is designed to appear to the host system as PCI compliant.However, i-PCI is not designed to be compliant with the PCI-SIG PCI orPCI Express Specification. This is an important concept. The statedgoals of application software, operating system, and I/O drivertransparency does not mean that the quality of service (QOS) is expectedto be or has to be identical to the default native PCI bus or PCIExpress implementation. This is the case with iSCSI storage QOS whencomparing to Parallel SCSI QOS. Thus expectations for i-PCI should besimilar. In the majority of applications, it is expected there will besome notable QOS difference when comparing the i-PCI implementation tothe default native PCI bus or PCI Express implementation.

There is some precedence for extending the PCI architecture where theextension is not fully compliant with the PCI specification. So, i-PCIwould not be the first in this respect. CardBus is prominent examplewhere the extension standard is based on PCI and appears to the hostsystem as part of the PCI resources, yet differences in performance andfunctionality exist.

When trying to understand the positioning of i-PCI within the PCI Systemarchitecture, it is useful to keep in mind, as a frame of reference, therelationships between SCSI and iSCI and PCI Bus and Card Bus.

i-PCI in Perspective to Other Virtualization Solutions

In order to understand the value proposition for i-PCI, it is helpful todo a quick review of virtualization and the existing virtualizationsolutions.

In the computing realm, virtualization refers to techniques forconcealing the physical characteristics, location, and distribution ofcomputing resources from the computer systems and applications that haveaccess to them.

There are two main categories of virtualization:

1. Computing Machine Virtualization

2. Resource Virtualization

Computing machine virtualization involves definition and virtualizationof multiple operating system (OS) instances and application stacks intopartitions within a host system. A thin layer of system software,referred to as the Virtual Machine Monitor (VMM) executes at thehardware level. The OS instances and stacks run on top of the VMM.Computer hardware resources are virtualized by the VMM and assigned tothe partitions. See FIG. 1, The Computing Machine VirtualizationConcept.

Virtualization is particularly well suited for blade serverinstallations where the architecture is optimized for high densitycomputer resources and pooled storage. The virtualization of anapplication and operating system along with the allocated CPU cycles,memory, and network bandwidth allows for unprecedented mobility,flexibility, and adaptability of computing tasks. With platformvirtualization:

-   -   Multiple virtual machines may be created and operating resident        on a single host (blade).    -   Virtual machines can be optimally allocated to multiple hosts        and then dynamically moved Computing machine virtualization        software for the blade environment is available from VMware®.        Virtual PC is Microsoft's offering for ×86 PC applications.

Intel has recently developed hardware support for computing machinevirtualization at the processor level. It is referred to as “IntelVanderpool technology” or “Intel Virtualization Technology”. It involvesan architectural extension to Intel's Xeon® and Itanium® processors thatreduces the complexity of the VMM, reduces the potential for softwareconflicts, and improves the reliability of virtualization. The extensionprovides a new high-privilege level “ring” for the VMM to run in thatallows special access to hardware resources to better enablevirtualization. The extension also implements features to allowhardware-based handoffs between the VMM and each OS instance.Hardware-based memory protection resulting in better process integrityis the third major enhancement.

Resource virtualization refers to the abstraction of computer peripheralfunctions. There are two main types of Resource virtualization:

1. Storage Virtualization

2. Memory-Mapped I/O Virtualization

Of the two categories of virtualization, storage virtualization iscurrently the most prevalent. Storage virtualization involves theabstraction and aggregation of multiple physical storage components intological storage pools that can then be allocated as needed to computingmachines. Storage virtualization falls into two categories

1. File-level Virtualization

2. Block-level Virtualization

In file-level virtualization, high-level file-based access isimplemented. Network-attached Storage (NAS) using file-based protocolssuch as SMB and NFS is the prominent example.

In block-level virtualization, low-level data block access isimplemented. In block-level virtualization, the storage devices appearto the computing machine as if it were locally attached. StorageAttached Network (SAN) is an example of this technical approach. SANsolutions that use block-based protocols include:

-   -   Fiber Channel Protocol (FCP) or “SCSI over Fiber Channel”.    -   ATA-over-Ethernet (AoE).    -   HyperSCSI (SCSI over Ethernet)    -   iSCSI (SCSI over TCP/IP).

In contrast to relatively mature storage virtualization, I/Ovirtualization is an emerging area in the field of virtualization. PCIExpress I/O virtualization is currently under development by thePCI-SIG. The scope of the effort is to enable local I/O resource (i.e.PCI Express Endpoints) sharing among virtual machine instances on thesame host.

With this virtualization background in mind, the value proposition fori-PCI becomes clear. i-PCI is positioned in the resource virtualizationcategory as a memory-mapped I/O virtualization solution. Whereas PCIExpress I/O virtualization is focused on local virtualization of theI/O, i-PCI is focused on networked virtualization of I/O. Whereas i-SCSIis focused on networked block level storage virtualization, i-PCI isfocused on networked memory-mapped I/O virtualization. Whereas VMwareand MS Virtual PC are focused on computing machine virtualization, i-PCIis focused on resource virtualization. Thus i-PCI fits into thevirtualization as complimentary technology to existing solutions. FIG.2, Virtualization Solutions, shows how i-PCI fits into thevirtualization landscape.

i-PCI can be thought of as a universal resource virtualization solutionfor local I/O technologies. If an adapter is designed for the PCISystem, i-PCI can serve as the virtualization protocol for that adapterfunction. It is within the scope of i-PCI to serve as the virtualizationfoundation for everything from consumer-oriented I/O protocols such asUSB and Firewire to niche protocols, embedded functions, and industrialPCI implementations such as cPCI and PCIMG 1.3. Thus with i-PCI, itbecomes possible for computing machine to be reconfigured and assignedmemory-mapped I/O for what ever I/O resources are available vianetworked virtualized expansion. New functions are typically introducedon adapter cards before they are migrated onto the motherboard. Any newPCI system adapter function that comes out can potentially be set up asa virtualized resource under i-PCI right when it is introduced. No newsoftware development would be required and no new virtualizationprotocol would have to be developed.

Note that simultaneous sharing of I/O functions by multiple hosts orcomputing machines are not presently within the scope of i-PCI. See theFuture Development section.

i-PCI as an I/O Solution for Blades

The architecture of blade servers, naturally lends itself tovirtualization solutions, so is of interest for i-PCI. FIG. 3, shows anIBM Blade Center Model H standard chassis with multiple bladesinstalled. Each blade is plugged into a backplane that routes 1 GbpsEthernet across a standard fabric and optionally Fiber Channel andInfiniband across a high-speed fabric. A primary advantage with bladesover traditional rack mount servers is they allow very high-densityinstallations. They are also optimized for networking and SANinterfacing. However, there is a drawback with the blade architecture.Even though the blades themselves are PCI-based architectures, thechassis do not support PCI-X or PCI Express adapter cards. The chassisback plane does not route PCI or PCI Express to the I/O module bays. Theonly way to add standard PCI-X adapter card functions is via anexpansion unit that takes up a precious blade slot. It only adds twoslots and there is no provision for standard PCI Express adapters. Itwould be convenient for the user to have the option of using PCI Expressor PCI-X adapter card functions as resources that could be memory-mappedvia i-PCI to selected blade servers installed in the blade center.

In the first quarter of 2007 a 10 Gbps Ethernet capability across theback plane high-speed fabric was introduced along with a 10 Gbpsexpansion card and switch module. See FIG. 4, NetXen 10 Gb Ethernet Cardand Nortel 10 Gb Ethernet Switch Module. This 10 Gbps capability opensthe door for i-PCI virtualization solutions in blade servers. i-PCIwould allow blades access to standard PCI Express adapter functions viamemory mapped I/O virtualization. The adapter functions could includePCI Express fiber channel SAN cards that were intended for use withtraditional servers. For the first time, it would make convenient toblades, any of the many functions that are available in the standardPCI-X or PCI Express adapter card form. Even specialized functions suchas those implemented in industrial PCI form factors become part of asolution set. This opens the possibility of utilizing the bladearchitecture for applications other than enterprise data centers.

There is potential in the blade architecture for the synergisticintroduction of CSMA/TS as an enabling technology. A 10 Gbps CSMA/TSswitch could be designed as an I/O switching module for the BladeCenter, offering a performance advantage over conventional switching.

Implementation Options

There are two basic implementation options within the scope of the i-PCISpecification: 1) i-PCI HBA PCI Spoof 2). i-PCI Virtual PCI Spoof. Thereare some major differences in the implementations.

The i-PCI HBA PCI Spoof approach offloads the processing to a host busadapter (HBA) designed to appear as an extension of the PCI System. Themajority of the protocol processing is offloaded by the i-PCI ProtocolController implemented in an FPGA onboard the HBA. This implementationis the focus of the initial specification.

The i-PCI Virtual PCI Spoof is a CPU-intensive virtual extension of thePCI System and topology. The CPU, utilizing the system memory, handlesthe majority of the processing load. This approach is targeted for usein closed or restricted systems where it is difficult or impossible toaccess the PCI Express bus or where there is a desire to minimize thecost of implementation. Virtual PCI is viewed as a follow-on effort oncethe HBA Spoof is validated. It is mentioned here so there is awarenessfrom the start that this option is planned for. See the section onFuture Capability.

i-PCI HBA PCI Spoof Implementation

The architecture of this implementation is described in the followingsections.

HBA I-PCI Spoof Architecture Overview

FIG. 5, A Typical PCI Express-based Host System, shows the architectureof a typical system capable of implementing i-PCI. FIG. 6, A Typical PCIExpress-based Host System with i-PCI HBA, shows the same system with theHBA add-in card.

Implementation Options

There are three basic implementations of i-PCI Host Bus Adapter Spoof:

1. i-PCI: This is the TCP/IP implementation, utilizing IP addressing androuters. This implementation is the least efficient and results in thelowest data throughput of the three options, but it maximizesflexibility in quantity and distribution of the I/O units. Refer to FIG.7, i-PCI IP-based Network Implementation Block Diagram.

i-PCI is defined with TCP as the Transport-level protocol for IP. Theremay be some question as to why choose TCP as the transport protocolinstead of UDP. In addressing this question, it is useful to first takea look at the host PCI system that i-PCI serves to extend. In particularit is useful to look at some key characteristics of PCI Express:

-   -   PCI Express is a point-to-point I/O interconnect that includes        definition of a physical layer, data link layer and transaction        layer. The point-to-point connections are strung together and        switched to provide and end-to-end route. Data integrity is        ensured link by link.    -   The data link layer is responsible for transport between end        points of a link. The data link layer ensures that the        transaction layer packets (TLPs) are delivered from the        transaction layer of one end point to the transaction layer of        the other end point. It ensures there are no missing or out of        sequence TLPs. Thus error-free, in-sequence TLPs is a        requirement of PCI Express for each link.

In effect, i-PCI defines a virtual point-to-point connection across theInternet that appears to the host as just another link in the PCIExpress architecture hierarchy. i-PCI must deliver the TLPs error-freeand in sequence to the transaction layer of each end point, just as isrequired of a normal PCI Express link. This expectation suggests theneed for a reliable delivery transport. The reliable delivery transportfor the Internet Protocol Suite is the Transmission Control Protocol(TCP). TCP provides:

-   -   Error-free data transfer    -   In-sequence data    -   Retransmission of lost packets/detection and discard of        duplicate data.    -   Network congestion management.

UDP in contrast to TCP is not a reliable delivery transport. AlthoughUDP is relatively fast, efficient, and real-time oriented, it is notcapable of providing error-free in-sequence TLPs across the virtuallink. UDP also has no network congestion management capability. UDP issuitable for applications that are tolerant of data loss, data errors,and duplication of data such as voice-over-IP, gaming, and web-casts.PCI system extension clearly does not fit in this category.

Therefore, after evaluation of the i-PCI data requirements and reviewingthe two primary IP transport protocols, TCP was selected to be the IPnetwork transport for i-PCI.

Although TCP is the transport protocol selected for i-PCI, provision ismade within the protocol for UDP as an option. See Table 3, HeaderOption field. If UDP is used, an application would need to be developedthat would run above UDP resident on the HBA and RBA. Such anapplication would be capable of delivering the TLPs error-free and insequence to the transaction layer of each end point.

2. i(e)-PCI This is the LAN implementation, utilizing MAC addresses andEthernet switches. This implementation is more efficient than the i-PCITCP/IP implementation, but is less efficient than i(p)-PCI. It allowsfor a large number of locally connected I/O units. Refer to FIG. 8,i(e)-PCI MAC-Address Switched LAN Implementation Block Diagram.

The TCP/IP offload engine and associated TCP software stack is notrequired for the i(dc)-PCI implementation.

3. i(dc)-PCI. This is a direct physical connect (802.3an)implementation, utilizing Ethernet CAT-x cables. This implementation isthe most efficient and highest data throughput option, but it is limitedto a single remote I/O unit. It allows much longer separation than ispossible with other direct connect solutions such as cabled PCI Express(typically a 5 m cable). The cable reach is dependent on the quality ofthe cable as follows:

-   -   100 m for Category 6A and Category 7.    -   55 m for Category 6    -   45 m for Category 5e

There are two variations of this implementation. They are designated the“Low End” LE(dc) or low performance variations, typically suitable forembedded or cost sensitive installations:

1. The first low end variation is LE(dc) Triple link Aggregation 1 GbpsEthernet (802.3ab) for mapping to 1-Lane 2.5 Gbps PCI Express at theremote I/O. The i-PCI architecture allows for multiple HBAs/RBAs and/orHBA's/RBAs implementing multiple links. These solutions result in datapaths that are paralleled across connecting links. The 3 links provides3×1 Gbps=3 Gbps which is a decent match to 1-Lane 2.5 Gbps PCI Express.

2. A second variation is LE(dc) Single link 1 Gbps Ethernet for mapping1-Lane 2.5 Gbps PCI Express on a host to a legacy 32-bit/33 MHz PCIbus-based remote I/O. The 1 Gbps link matches decently to the BW of the32×33=1056 bps legacy PCI. Refer to FIG. 9, i(dc)-PCI Direct ConnectedImplementation Block Diagram for illustrations of all 3 I(dc)-PCIimplementation variations. Other optimal localized direct connectivitysolutions exist in the marketplace (i.e. cabled PCI Express), soi(dc)-PCI and the two variations discussed here are not considered ascompelling as the other implementations. But they are capable of longerdistance (100 m vs, 5m for PCIe) and useful to fill out a complete i-PCIsolution suite.

The TCP/IP offload engine and associated TCP software stack is notrequired for the i(dc)-PCI implementation.

Host Bus Adapter

The Host Bus Adapter (HBA) circuit card assembly (CCA) contains thei-PCI/PCIe Controller and Protocol converter, memory for implementing amirror and cache to reflect the remote I/O resources, as well asbuffers, a 10 Gbps NIC Controller, MAC, PHY, and TCP/IP Offload engine.Refer to FIG. 10, HBA CCA Block Diagram.

Remote Bus Adapter

The Remote Bus Adapter (RBA) circuit card assembly contains thei-PCI/PCIe Controller and Protocol converter, memory for implementingbuffering, as well as a 10 Gbps NIC Controller, MAC, PHY, and TCP/IPOffload engine. There are two versions: 1) PCIe based and 2)Conventional PCI. Refer to FIG. 11, PCIe RBA CCA Block Diagram and FIG.12, Conventional PCI RBA CCA Block Diagram.

Data Flow Overview of Encapsulation Approach

Data flow for i-PCI involves the encapsulation of PCI ExpressTransaction Layer packets. The encapsulation is different depending onwhich of the three implementations is in use.

If i-PCI is implemented, the end encapsulation is within i-PCI, TCP, IP,and Ethernet headers. Refer to FIG. 13, i-PCI Packet Mapping.

If i(e)-PCI is implemented, the end encapsulation is within i-PCI andEthernet (Data Link and Physical layer) headers only. Refer to FIG. 14,i(e)-PCI Packet Mapping.

If i(dc)-PCI is implemented, the end encapsulation is within i-PCI andEthernet (Physical layer) headers only. Refer to FIG. 15, i(dc)-PCIPacket Mapping.

PCI Express Packets

There are three types of PCI Express packets. Only one of these packettypes is encapsulated within i-PCI. The packet type that must beencapsulated is the Transaction Layer packet (TLP) type. The Data LinkLayer Packets (DLPs) are selectively handled with certain typestranslated into Link PDUs. The Physical Layer Packets (also calledordered sets) are not utilized for i-PCI. Refer to FIG. 16, PCI ExpressPackets.

Although the Physical Layer packets are not encapsulated within i-PCI,they still need to be supported at the PCI Express bus bridge interfaceon both the HBA and RBA.

The detailed structure of the PCI Express TLP Header is shown in FIG.17, PCI Express TLP Header. This information within this header is usedby i-PCI in various ways such as determining priority, address mapping,etc.

i-PCI protocol decisions are made based on The PCI Express transactiontype. This information is found in the FMT and Type fields within theheader. A table of PCI Express Transactions appears in the Appendix.

Ethernet Packets

The outermost encapsulation is defined by the Ethernet Packets. Thestructure of these packets is shown in FIG. 18, Ethernet Packets. Thefull structure of the packets are utilized for i-PCI and i(e)-PCI. Onlythe physical layer preamble and frame check sequence (CRC) are utilizedfor i(dc)-PCI.

IP Packets

The next layer up in the encapsulation is the IP layer. The structure ofthese packets is shown in FIG. 19, IP Packets. These packets areutilized for i-PCI only. IP packets are not utilized for i(e)-PCI ori(dc)-PCI.

TCP Packets

The next layer up in the encapsulation is the TCP layer.

The structure of these packets is shown in FIG. 20, TCP Packets. Thesepackets are utilized for i-PCI only. TCP packets are not utilized fori(e)-PCI or i(dc)-PCI.

The optimum data payload size over i-PCI is determined by matching thePCI Express transaction data size as closely as possible, avoidingfragmentation. But, the upper limit of data payload is determined by theEthernet data field, which is limited to 1500 bytes max.

i-PCI Protocol Data Unit

The basic unit of transfer for i-PCI is referred to as a Protocol DataUnit (PDU). The flow and construction of the PDU is described in thissection of the specification. There are two types of PDUs:

1) PCI Bus TLP Traffic PDU.

2) Link PDU.

The two PDUs share the same header format only for the first threefields (Type, Implen, and Option). Refer to Table 1, Header Field“Type”, Table 2, Header Field “Implementation”, and Table 3, HeaderField “Option”.

PCI Bus TLP Traffic PDU

This type of PDU consists of PCI Bus TLPs intended for or received froma remote I/O. Refer to FIG. 21, PCI Bus TLP Traffic PDU.

The PCI Bus TLP Traffic HK Header fields are defined as follows:

-   -   “Type”: Refer to Table 1, Header Field “Type”. This field        identifies which type of PDU it is.    -   “Implemen”: Refer to Table 2, Header Field “Implementation”.        This field identifies which of the i-PCI implementations is        being used. Up to eight implementations are accommodated to        allow for future capabilities.    -   “Option”: Refer to Table 3, Header Field “Option”. For each        implementation, four protocols may be specified.    -   “Status/CMD”: Refer to Table 4, HK Header Field: “Status/CMD”.        This field enables basic communications between the host and        remote i-PCI Protocol Controllers to help them stay in sync. The        Link PDU provides additional communications capability when this        field in the HK header is not sufficient.    -   “CRC”. This field specifies optional error checking for the HK        Header.    -   “Optional CRC”: This field is added to the header if enabled by        CRC field. Refer to Table 5, HK Header Field: “CRC”.

The PCI Bus TLP Traffic PDU is formed and handled a bit differentdepending on the implementation:

For i-PCI:

-   -   Host Outgoing Traffic: The PCI-PCI Bridge on the HBA receives a        packet and decodes the PCI Express TLP header (Refer to FIG. 17,        PCI Express TLP Header) to confirm that it is intended for a        remote device. Unless there is a fault condition all traffic        received on the link from the upstream switch should be intended        for a remote I/O. The packet and extracted PCI address is then        passed to the i-PCI Protocol Controller. The i-PCI Protocol        Controller cross references the PCI address to an IP address for        the remote I/O, using the HBA System Mirror. It then generates        the IP address that corresponds to the remote I/O and fills in        the IP address field on the Protocol Bus PDU. It also checks to        see if any housekeeping is outstanding with the intended remote        I/O. It then completes the 2-byte Housekeeping (HK) field in the        header. At this time, it also sets the appropriate        implementation ID in the HK field. The PDU is then passed to the        10 Gbps Network Interface Controller (NIC) TCP Offload Engine        (TOE) via the protocol bus. Upon receipt, the TOE NIC controller        strips off the IP address leaving the HK header in place and        puts the IP address in the IP packet destination address field        as it forms an IP packet. The TOE then passes the packet to the        MAC, which passes it to the PHY for transmission to the remote        I/O.    -   Host Incoming Traffic: Upon receipt of the incoming packet from        the MAC, the TOE processes the packet and extracts the source IP        address. The TOE has a table of the valid IP addresses of each        authorized remote I/O. If the IP address matches that of an        authorized remote I/O, the TOE knows it is an i-PCI PDU. It        routes the packet to the i-PCI Protocol Controller via the        protocol bus. The i-PCI Protocol controller then strips off the        2-byte HK header, performs any requested house keeping tasks and        passes the resultant PCI Bus Traffic packet to the PCI-PCI        Bridge for transmission upstream.    -   Remote I/O Outgoing traffic: The PCI-PCI Bridge on the RBA        receives a packet from a downstream endpoint and decodes the PCI        Express TLP header to confirm that it is intended for the host.        Unless there is a fault condition all traffic received on the        link from downstream should be intended for the host. The packet        and extracted PCI address is then passed to, the i-PCI Protocol        Controller. The i-PCI Protocol Controller looks for a        corresponding IP address for the authorized host, using        information from it's local cache of the System Mirror. It then        generates the IP address that corresponds to the host and fills        in the IP address field on the Protocol Bus PDU. It also checks        to see if any housekeeping is outstanding with the particular        host. If so, it completes the 2-byte HK field of the Protocol        Bus PDU. At this time, it also sets the appropriate        implementation ID in the HK field. The PDU is then passed to the        TOE via the protocol bus. Upon receipt, the TOE controller        strips off the IP address, leaving the HK header in place, and        puts the IP address in the IP packet destination address field        as it forms an IP packet. The TOE then passes the packet to the        MAC, which passes it to the PHY for transmission to the host.    -   Remote Incoming Traffic: Upon receipt of the incoming packet        from the MAC, the TOE processes the packet and extracts the        source IP address. The TOE has a table of the valid IP address        of the authorized host. If the IP address matches, it passes the        i-PCI packet to the i-PCI Protocol Controller via the protocol        bus. The i-PCI Protocol controller then strips off the 2-byte HK        header, performs any requested house keeping tasks, and passes        the resultant PCI Bus Traffic packet to the PCI-PCI Bridge for        transmission downstream to the intended endpoint.

For i(e)-PCI:

-   -   Host Outgoing Traffic: The PCI-PCI Bridge on the HBA receives a        packet and decodes the PCI Express TLP header to confirm that it        is intended for a remote device. Unless there is a fault        condition all traffic received on the link from the upstream        switch should be intended for a remote I/O. The packet and        extracted PCI address is then passed to, the i-PCI Protocol        Controller. The i-PCI Protocol Controller cross-references the        PCI address to a MAC address for the remote I/O, using the HBA        System Mirror. It then generates the MAC address that        corresponds to the remote I/O and fills in the MAC address field        on the Protocol Bus PDU. It also checks to see if any        housekeeping is outstanding with the intended remote I/O. It        then completes the 2-byte HK field in the header. At this time,        it also sets the appropriate implementation ID in the HK field.        The packet is then passed to the 10 Gbps NIC controller via the        protocol bus. Upon receipt, the NIC controller strips off the        MAC address, leaving the HK header in place, and puts the MAC        address in the Ethernet packet destination address field as it        forms an Ethernet packet. The Network Interface Controller (NIC)        then passes the packet to the MAC, which passes it to the PHY        for transmission to the remote I/O.    -   Host Incoming Traffic: Upon receipt of the incoming packet from        the MAC, the NIC processes the packet and extracts the source        MAC address. The NIC has a table of the valid MAC addresses of        each authorized remote I/O. If the MAC address matches that of a        remote I/O, the NIC knows it is an i-PCI PDU. It routes the        packet to the i-PCI Protocol Controller via the protocol bus.        The i-PCI Protocol controller then strips off the 2-byte        housekeeping field/header, performs any requested house keeping        tasks and passes the resultant PCI Bus Traffic packet to the        PCI-PCI Bridge for transmission upstream.    -   Remote I/O Outgoing traffic: The PCI-PCI Bridge on the RBA        receives a packet from a downstream endpoint and decodes the PCI        Express TLP header to confirm that it is intended for the host.        Unless there is a fault condition all traffic received on the        link from downstream should be intended for the host. The packet        and extracted PCI address is then passed to, the i-PCI Protocol        Controller. The i-PCI Protocol Controller looks for a        corresponding MAC address for the authorized host, using        information from it's local cache of the System Mirror. It then        generates the MAC address that corresponds to the host and fills        in the MAC address field on the Protocol Bus PDU. It also checks        to see if any housekeeping is outstanding with the particular        host. If so, it completes the 2-byte HK field in the header. At        this time, it also sets the appropriate implementation ID in the        HK field. The packet is then passed to the 10 Gbps NIC        controller via the protocol bus. Upon receipt, the NIC        controller strips off the MAC address, leaving the HK header in        place, and puts the MAC address in the Ethernet packet        destination address field as it forms an IP packet. The Network        Interface Controller (NIC) then passes the packet to the MAC,        which passes it to the PHY for transmission to the host.    -   Remote Incoming Traffic: Upon receipt of the incoming packet        from the MAC, the NIC processes the packet and extracts the        source MAC address. The NIC has a table of the valid MAC address        of the authorized host. If the MAC address matches, it passes        the i-PCI packet to the i-PCI Protocol Controller via the        protocol bus. The i-PCI Protocol controller then strips off the        2-byte HK header, performs any requested house keeping tasks,        and passes the resultant PCI Bus Traffic packet to the PCI-PCI        Bridge for transmission downstream to the intended endpoint.

For i(dc)-PCI:

-   -   Host Outgoing Traffic: The PCI-PCI Bridge on the HBA receives a        packet and decodes the PCI Express TLP header to confirm that it        is intended for a remote device. Unless there is a fault        condition all traffic received on the link from the upstream        switch should be intended for the remote I/O. The packet and        extracted PCI address is then passed to, the i-PCI Protocol        Controller. The i-PCI Protocol Controller checks to see if any        housekeeping is outstanding with the intended remote I/O. It        then completes the 2-byte HK header. At this time, it also sets        the appropriate implementation ID in the HK header. The packet        is then passed to the 10 Gbps NIC controller via the protocol        bus. Upon receipt, the NIC controller passes the packet to the        MAC, which passes it to the PHY for transmission to the remote        I/O.    -   Host Incoming Traffic: Upon receipt of the incoming packet from        the MAC, the NIC processes the packet and routes the packet to        the i-PCI Protocol Controller via the protocol bus. The i-PCI        Protocol controller then strips off the 2-byte HK header,        performs any requested house keeping tasks and passes the        resultant PCI Bus Traffic packet to the PCI-PCI Bridge for        transmission upstream.    -   Remote I/O Outgoing traffic: The PCI-PCI Bridge on the RBA        receives a packet from a downstream endpoint and decodes the PCI        Express TLP header to confirm that it is intended for the host.        Unless there is a fault condition all traffic received on the        link from downstream should be intended for the host. The packet        and extracted PCI address is then passed to the i-PCI Protocol        Controller. The i-PCI Protocol Controller checks to see if any        housekeeping is outstanding with the host. If so, it completes        the 2-byte HK header. At this time, it also sets the appropriate        implementation ID in the HK header. The packet is then passed to        the 10 Gbps NIC controller via the protocol bus. Upon receipt,        the NIC controller passes the packet to the MAC, which passes it        to the PHY for transmission to the host.    -   Remote Incoming Traffic: Upon receipt of the incoming packet        from the MAC, the NIC processes the packet and passes the i-PCI        packet to the i-PCI Protocol Controller via the protocol bus.        The i-PCI Protocol controller then strips off the 2-byte HK        header, performs any requested house keeping tasks, and passes        the resultant PCI Bus Traffic packet to the PCI-PCI Bridge for        transmission downstream to the intended endpoint.

TABLE 1 Header Field: “Type”. TYPE Description 0 00 Indicates a PCI BusTraffic PDU 1 01 Indicates a Link PDU 2 10 reserved 3 11 reserved

TABLE 2 Header Field: “Implementation”. IMPLEMEN Description 0 0000Indicates an i-PCI Implementation 1 0001 Indicates an i(e)-PCIImplementation 2 0010 Indicates an i(dc)-PCI Implementation 3 0011reserved 4 0100 reserved 5 0101 reserved 6 0110 reserved 7 0111 reserved8 1000 reserved 9 1001 reserved A 1010 reserved B 1011 reserved C 1100reserved D 1101 reserved E 1110 reserved F 1111 reserved

TABLE 3 Header Field: “Option”. IMPLEMEN OPTION Description 0 0 00 TCPProtocol Option 1 01 UDP Protocol Option 2 10 reserved 3 11 reserved 1 000 reserved 1 01 reserved 2 10 reserved 3 11 reserved 2 0 00 reserved 101 reserved 2 10 reserved 3 11 reserved 3 0 00 reserved 1 01 reserved 210 reserved 3 11 reserved 4 0 00 reserved 1 01 reserved 2 10 reserved 311 reserved 5 0 00 reserved 1 01 reserved 2 10 reserved 3 11 reserved 60 00 reserved 1 01 reserved 2 10 reserved 3 11 reserved 7 0 00 reserved1 01 reserved 2 10 reserved 3 11 reserved 8 0 00 reserved 1 01 reserved2 10 reserved 3 11 reserved 9 0 00 reserved 1 01 reserved 2 10 reserved3 11 reserved A 0 00 reserved 1 01 reserved 2 10 reserved 3 11 reservedB 0 00 reserved 1 01 reserved 2 10 reserved 3 11 reserved C 0 00reserved 1 01 reserved 2 10 reserved 3 11 reserved D 0 00 reserved 1 01reserved 2 10 reserved 3 11 reserved E 0 00 reserved 1 01 reserved 2 10reserved 3 11 reserved F 0 00 reserved 1 01 reserved 2 10 reserved 3 11reserved

TABLE 4 HK Header Field: “Status/Command”. Command STATUS/CMD StatusDescription Description 00 000000 OK Reset 01 000001 reserved TCP CODEPSH bit set 02 000010 reserved TCP CODE URG bit set 03 000011 reservedreserved 04 000100 reserved reserved 05 000101 reserved reserved 06000110 reserved reserved 07 000111 reserved reserved 08 001000 reservedreserved 09 001001 reserved reserved 0A 001010 reserved reserved 0B001011 reserved reserved 0C 001100 reserved reserved 0D 001101 reservedreserved 0E 001110 reserved reserved 0F 001111 reserved reserved 10010000 reserved reserved 11 010001 reserved reserved 12 010010 reservedreserved 13 010011 reserved reserved 14 010100 reserved reserved 15010101 reserved reserved 16 010110 reserved reserved 17 010111 reservedreserved 18 011000 reserved reserved 19 011001 reserved reserved 1A011010 reserved reserved 1B 011011 reserved reserved 1C 011100 reservedreserved 1D 011101 reserved reserved 1E 011110 reserved reserved 1F011111 reserved reserved 20 100000 reserved reserved 21 100001 reservedreserved 22 100010 reserved reserved 23 100011 reserved reserved 24100100 reserved reserved 25 100101 reserved reserved 26 100110 reservedreserved 27 100111 reserved reserved 28 101000 reserved reserved 29101001 reserved reserved 2A 101010 reserved reserved 2B 101011 reservedreserved 2C 101100 reserved reserved 2D 101101 reserved reserved 2E101110 reserved reserved 2F 101111 reserved reserved 30 110000 reservedreserved 31 110001 reserved reserved 32 110010 reserved reserved 33110011 reserved reserved 34 110100 reserved reserved 35 110101 reservedreserved 36 110110 reserved reserved 37 110111 reserved reserved 38111000 reserved reserved 39 111001 reserved reserved 3A 111010 reservedreserved 3B 111011 reserved reserved 3C 111100 reserved reserved 3D111101 reserved reserved 3E 111110 reserved reserved 3F 111111 HELPreserved

TABLE 5 HK Header Field: “CRC”. CRC Description 0 00 No HK Header ErrorChecking 1 01 16-Bit CRC Appended to Header 2 10 reserved 3 11 reserved

Link PDU

The Link PDU has two main purposes:

1. PCI Express DLLP Support

-   -   Includes Flow Control capability for i(e)-PCI and i(dc)-PCI        implementations.

2. Command & Control/Synchronization

Two versions or “subtype” PDUs are defined to support these respectivepurposes:

1. PCI Express DLLP Support (PDS) PDU

2. Command & Control/Synchronization (CSS) PDU

3.2.6.2.1 PCI Express DLLP Support (PDS) PDU

Certain PCI Express Data Link Layer packet functions—not all—aresupported across the link between the Host and the remote I/O. The LinkPDU “subtype” that provides this capability is referred to as the PCIExpress DLLP Support (PDS) PDU.

In stating that certain PCI Express functions are supported, it does notimply that PCI Express DLLPs are simply encapsulated for i-PCI in theway that PCI Express TLPs are. Instead, a given DLLP is handled,interpreted, and translated into a Link PDS PDU. The PCIe DLLP Handlerforms the Link PDS PDUs for the supported PCI Express DLLP functions.Tables 6, 7, 8, show the PCI Express DLLPs supported by the variousimplementations of i-PCI. The handling, supported functions,interpretation, and translation varies depending on the implementation:For the detailed structure of the PDS PDU, Refer to FIG. 22, PCI ExpressDLLP Support (PDS) PDU.

The PDS PDU Header fields are defined as follows:

-   -   “Type”, “Implemen”, “Option”: Same definitions as for the PCI        Bus TLP Traffic PDU. Refer to Table 1, Header Field “Type”,        Table 2, Header Field “Implementation”, Table 3, Header Field        “Option”.    -   “Subtype”: See Table 9, Link PDU Header Field: “SubType”    -   “Buff Util”: See Table 10, Link PDU Header Field: “Buff Util”.        This field provides the flow control capability for the i(e)-PCI        and i(dc) implementations. Buff Util provides a running update        of the receive buffer condition in the NIC.    -   “Function”: See Table 11, Link (PDS-specific) PDU Header Field:        “Function”    -   “CRC”: This field specifies optional error checking for the HK        Header. See Table 12, Link (PDS-specific) PDU Header Field:        “CRC”.    -   “Optional CRC”: This field is added to the header if enabled by        CRC field.

All PDUs originate with the i-PCI Protocol Controller. The PDS PDU is afixed length of either 15 bytes, or 17 bytes if the 16-bit Header CRC isspecified.

PCI Express ACK and NAK protocol support is one of the primary functionshandled by the PDS PDU. The PDS DLLP Field directly maps to the PCIExpress DLLP ACK or NAK “Reserved”, “AckNak_Seq_Num”, and “16-bit CRC”fields. In the case of the ACK/NAK DLLP, the last 12 bits of the fieldcontain the Sequence number for the last received good TLP. The sendingand receiving bridges calculate the PCI Express 16-bit CRC field as partof the PCI Express Protocol.

TABLE 6 PCI Express DLLPs and PDU Mapping for i-PCI. Link PDU PCIe DLLPGroup Packet Type Mapping Comments TLP ACK PCIe ACK PDU terminates atlocal Acknowledgement Local NIC controller NAK PCIe NAK PDU terminatesat local Local NIC controller Power PM_Enter_L1 No Mapping PCIe DLLPHandler logic Management i-PCI link components remain poweredPM_Enter_L2 No Mapping PCIe DLLP Handler logic i-PCI link componentsremain powered PM_Active_State_Request_L1 No Mapping PCIe DLLP Handlerlogic i-PCI link components remain powered PM_Request_Ack No MappingPCIe DLLP Handler logic i-PCI link components remain powered TLP FlowControl InitFC1-P No Mapping PCIe DLLP Handler logic InitFC1-NP NoMapping PCIe DLLP Handler logic InitFC1-Cpl No Mapping PCIe DLLP Handlerlogic InitFC2-P No Mapping PCIe DLLP Handler logic InitFC2-NP No MappingPCIe DLLP Handler logic InitFC2-Cpl No Mapping PCIe DLLP Handler logicUpdateFC-P No Mapping Initialization infinite credit option: inactiveUpdateFC-NP No Mapping Initialization infinite credit option: inactiveUpdateFC-Cpl No Mapping Initialization infinite credit option: inactiveVendor Specific Not used in normal No Mapping PCIe DLLP Handler logicoperation (if necessary) Reserved All others No Mapping PCIe DLLPHandler logic (if necessary)

TABLE 7 PCI Express DLLPs and PDU Mapping for i(e)-PCI. Link PDU PCIeDLLP Group Packet Type Mapping Comments TLP ACK PCIe ACK PDU routesacross link Acknowledgement NAK PCIe NAK PDU routes across link PowerPM_Enter_L1 No Mapping PCIe DLLP Handler logic Management i-PCI linkcomponents remain powered PM_Enter_L2 No Mapping PCIe DLLP Handler logici-PCI link components remain powered PM_Active_State_Request_L1 NoMapping PCIe DLLP Handler logic i-PCI link components remain poweredPM_Request_Ack No Mapping PCIe DLLP Handler logic i-PCI link componentsremain powered TLP Flow Control InitFC1-P No Mapping PCIe DLLP Handlerlogic InitFC1-NP No Mapping PCIe DLLP Handler logic InitFC1-Cpl NoMapping PCIe DLLP Handler logic InitFC2-P No Mapping PCIe DLLP Handlerlogic InitFC2-NP No Mapping PCIe DLLP Handler logic InitFC2-Cpl NoMapping PCIe DLLP Handler logic UpdateFC-P No Mapping Initializationinfinite credit option: inactive UpdateFC-NP No Mapping Initializationinfinite credit option: inactive UpdateFC-Cpl No Mapping Initializationinfinite credit option: inactive Vendor Specific Not used in normal NoMapping PCIe DLLP Handler logic operation (if necessary) Reserved Allothers No Mapping PCIe DLLP Handler logic (if necessary)

TABLE 8 PCI Express DLLPs and PDU Mapping for i(dc)-PCI. Link PDU PCIeDLLP Group Packet Type Mapping Comments TLP ACK PCIe ACK PDU routesacross link Acknowledgement NAK PCIe NAK PDU routes across link PowerPM_Enter_L1 No Mapping PCIe DLLP Handler logic Management i-PCI linkcomponents remain powered PM_Enter_L2 No Mapping PCIe DLLP Handler logici-PCI link components remain powered PM_Active_State_Request_L1 NoMapping PCIe DLLP Handler logic i-PCI link components remain poweredPM_Request_Ack No Mapping PCIe DLLP Handler logic i-PCI link componentsremain powered TLP Flow Control InitFC1-P No Mapping PCIe DLLP Handlerlogic InitFC1-NP No Mapping PCIe DLLP Handler logic InitFC1-Cpl NoMapping PCIe DLLP Handler logic InitFC2-P No Mapping PCIe DLLP Handlerlogic InitFC2-NP No Mapping PCIe DLLP Handler logic InitFC2-Cpl NoMapping PCIe DLLP Handler logic UpdateFC-P No Mapping Initializationinfinite credit option: inactive UpdateFC-NP No Mapping Initializationinfinite credit option: inactive UpdateFC-Cpl No Mapping Initializationinfinite credit option: inactive Vendor Specific Not used in normal NoMapping PCIe DLLP Handler logic operation (if necessary) Reserved Allothers No Mapping PCIe DLLP Handler logic (if necessary)

TABLE 9 Link PDU Header Field: “SubType”. SUBTYPE Description 0 00Indicates a PCI Express DLLP Support (PDS) PDU 1 01 Indicates a Command& Control/Synchronization (CCS) PDU 2 10 reserved 3 11 reserved

TABLE 10 Link PDU Header Field: “Buff Util” BUFF UTIL Description 0 00Receive Buffer = 75 to 100% space available 1 01 Receive Buffer = 50 to75% space available 2 10 Receive Buffer = 25 to 50% space available 3111 Receive Buffer = 25% space available

TABLE 11 Link (PDS-specific) PDU Header Field: “Function” FUNCTIONDescription 0 000 ACK 1 001 NAK 2 010 Buffer Status 3 011 Keep Alive 4100 reserved 5 101 reserved 6 110 reserved 7 111 reserved

TABLE 12 Link (PDS-specific) PDU Header Field: “CRC”. CRC Description 0No PDU Header Error Check 1 16-Bit CRC Appended to Header

Command & Control/Synchronization (CSS PDU)

The i-PCI protocol requires the i-PCI Protocol Controller in the HBA tobe able to contact the i-PCI Protocol Controller in each RBA for command& control and synchronization. The RSYNC application running on thei-PCI Protocol Controller accomplishes these tasks utilizing the LinkPDU. The Link PDU “subtype” that provides this capability is referred toas the Command & Control/Synchronization (CCS) PDU. A simple command andresponse capability is implemented. The detailed structure of theSubtype CCS is shown in FIG. 23, Command & Control/Synchronization (CCS)PDU.

The CCS PDU Header fields are defined as follows:

-   -   “Type”, “Implemen”, “Option”: Same definitions as for the PCI        Bus TLP Traffic PDU. Refer to Table 1, Header Field “Type”,        Table 2, Header Field “Implementation”, and Table 3, Header        Field “Option”.    -   “Subtype”: See Table 9, Link PDU Header Field: “SubType”    -   “Buff Util”: See Table 10, Link PDU Header Field: “Buff Util”.    -   “CMD/RSP”: See Table 13, Link PDU CSS Header Field: “CMD/RSP”.    -   “Byte Enable”. See Table 14, Link PDU CSS

Header Field: “Byte Enable”. The Byte Enable field specifies how manybytes (0-4) and which byte position(s) are to be transferred. Byteenables are used for single DW Config Read Offset, Config Write offset,Controller Mem Write and Controller Mem Read operations.

-   -   “Reserved”. This field is reserved for future needs.

All PDUs originate with the i-PCI Protocol Controller. In contrast tothe PDS PDU, the CCS PDU has a payload field varies in length, dependingon the CMD/RSP field. There is no length field as the length is definedspecific to the Command or Response. A 32-bit CRC is calculated andadded to the end of the CCS Link PDU to cover the entire PDU. There isno destination address field in the i(dc)-PCI implementation.

TABLE 13 Link PDU CSS Header Field: “CMD/RSP”. Command Response CMD/Payload Payload RSP Task Size Result Returned Size 00 Config Read Offset12 bits Corresponding 0-4 B registers 01 Config Read PCI 0 B Config PCI64 B Header Header 02 Config Read PCI Dev 0 B Config PCI Dev 192 B Sp Sp03 Config Read PCI 0 B Config PCI Comp 256 B Comp 04 Config Read PCIeExt 0 B Config PCIe Ext 3840 B 05 Config Read All 0 B Entire Config Sp4096 B 06 reserved reserved 07 reserved reserved 08 reserved reserved 09reserved reserved 0A reserved reserved 0B reserved reserved 0C reservedreserved 0D reserved reserved 0E reserved reserved 0F reserved reserved10 Config Write Offset 12 bits + ACK Config 0 B 0-4 B Write 11 ConfigWrite PCI 64 B reserved Header 12 Config Write PCI Dev 192 B reserved Sp13 Config Write PCI 256 B reserved Comp 14 Config Write PCIe Ext 3840 Breserved 15 Config Write All 4096 B reserved 16 reserved reserved 17reserved reserved 18 reserved reserved 19 reserved reserved 1A reservedreserved 1B reserved reserved 1C reserved reserved 1D reserved reserved1E reserved reserved 1F reserved reserved 20 Controller Mem Write 4-8 B¹ACK Mem Write 0 B 21 Controller Mem Read 0-4 B² Mem Read 0-4 B³ 22reserved reserved 23 reserved reserved 24 reserved reserved 25 reservedreserved 26 reserved reserved 27 reserved reserved 28 reserved reserved29 reserved reserved 2A reserved reserved 2B reserved reserved 2Creserved reserved 2D reserved reserved 2E reserved reserved 2F reservedreserved 30 reserved reserved 31 reserved reserved 32 reserved reserved33 reserved reserved 34 reserved reserved 35 reserved reserved 36reserved reserved 37 reserved reserved 38 reserved reserved 39 reservedreserved 3A reserved reserved 3B reserved reserved 3C reserved reserved3D reserved reserved 3E Reset 0 B Reset Complete 0 B 3F Ready? 0 B Ready0 B Notes: ¹4 B address + 4 B data ²4 B address ³4 B data

TABLE 14 Link PDU CSS Header Field: “Byte Enable” Byte Enable Payload 000000 4 data bytes 01 0001 upper 3 bytes 02 0010 upper 2 bytes and firstbyte 03 0011 upper two bytes 04 0100 upper byte and lower 2 bytes 050101 second and fourth bytes 06 0110 first and last bytes 07 0111 lastbyte 08 1000 3 lower bytes 09 1001 2 middle bytes A 1010 first and thirdbytes B 1011 third byte C 1100 first two bytes D 1101 second byte E 1110first byte F 1111 no bytes PCI ←→ i-PCI ←→ TCP/IP/Protocol ProcessOverview

To establish basic understanding of how i-PCI works, it is illustrativeto run through at a high level a scenario from computer startup througha first application transaction involving the i-PCI protocol process.Note: i-PCI specific steps are italicized.

System Configuration, Initialization, and Resource Assignment

When a host computer system is turned on, the BIOS begins execution andinitializes the host. The BIOS is responsible for starting up the PCISystem, including:

-   -   Initial discovery and detection of all PCI bus devices,        including PCI bridges.    -   Configuration of all PCI bridge registers.    -   Assignment of I/O and memory resource windows to each bridge        based on the requirements of the PCI devices behind that bridge.

The HBA includes a complete PCI System mirror (resource cachereflector/mapper or “RCR/M”) of all remote PCI bridges and PCI deviceconfiguration registers. The PCI System mirror must implement the PCIExpress Bridge-Specific version of the type 01h Configuration HeaderFormat (see Appendix). The BIOS “discovers” these devices and assignsthe proper resources to the mirror.

The mirror was setup during a prior boot-up by the System Data TransferOptimization Utility.

After the BIOS completes and hands off to the Operating System, the PCIBus Driver (pci.sys in MS Windows) re-scans the PCI system:

-   -   It confirms that all bridges have been configured by the BIOS        and configures any bridges that were not configured by the BIOS        for some reason.    -   It starts up each bridge and scans behind the bridge for any PCI        device.    -   If devices are present, the driver assigns resources to the each        device from the bridge resource allocation (the memory and I/O        resource windows).    -   The PCI Bus Driver confirms all bridges and devices appearing in        the HBA mirror.    -   Following the mirror configuration response, the HBA will        re-sync with the affected RBA device configuration register.

Following the PCI Bus Driver re-scan process, the Operating systemDevice Manager associates each I/O device with a valid PCI driver. FIG.24 shows a typical PCI system tree resulting from the configuration,initialization and resource assignment at system startup. FIG. 25 showsthe same tree expanded out to show end devices. FIG. 26 shows thecorresponding memory resource window. FIG. 27 shows the correspondingI/O resource window. The i-PCI HBA System Mirror must interact properlywith this system startup process to ensure remote resources arereflected locally and memory and I/O windows assigned accurately. Fromthese figures it is readily apparent that the PCI system is whollyintegrated into the host and forms the backbone of the computer's I/Oarchitecture. i-PCI, by enabling a virtual extension of this corebackbone, provides for an intimate expansion of the host architecture.

Application Access

After the Operating System completes enumeration and loads a Device PCIDriver an application running on the host system can include the devicedriver to perform tasks. The application is unaware of any additionalprotocol steps associated with i-PCI. All it is aware of is the expectedinterface to the device driver.

Address Mapping

This section describes how address mapping is handled for the threedifferent implementations.

PCI ←→IP Address Mapping for i-PCI

The System Data Transfer Optimization Utility (refer to section onSystem Operation) initializes the PCI □ □ IP Address Mapping Table. Thistable is essentially a cross reference for use by the i-PCIimplementation option. A copy of the PCI □ □ IP Address Mapping Table isstored on all HBAs and RBAs. This table provides the IP address thatcorresponds to a given PCI Bus (or segment) on the PCI System Tree. SeeTable 15, Example PCI □ □ IP Address Mapping.

-   -   The HBA or RBA reads the incoming PCI TLP and determines the        required PCI System routing and associated egress port to reach        the intended device or memory location. The determination of the        egress port is per the PCI Express Specification, as established        during system initialization.    -   An example location might be “PCI bus 11, device 31, function        6”. The HBA or RBA cross-references this PCI System location to        identify the IP address associated with the location.    -   The HBA or RBA uses this information to form a PCI Bus traffic        packet and passes the packet along with the associated IP        address to the TOE for transmission across the network link.

TABLE 15 Example PCI ←→ IP Address Mapping PCI RBA or HBA IP PHYSICALPCI Device LOCATION ADDRESS LOCATION PCI Express PCI bus 1 HBA:00-0A-E6-4D-52- Host Switch: PCI Bridge #1 Device 12 C7 Function 0 PCIExpress PCI bus 2 HBA: 00-0A-E6-4D-52- Host Switch: PCI Bridge #2 Device1 C7 Function 0 PCI Bridge PCI bus 3 HBA: 00-0A-E6-4D-52- Host Device 1C7 Function 0 PCI Bridge PCI bus 8 RBA: 00-1A-92-DF-BF- Remote Device 1F3 I/O, #1 Function 0 PCI Express PCI bus 9 RBA: 00-1A-92-DF-BF- RemoteSwitch: PCI Bridge #1 Device 1 F3 I/O, #1 Function 0 PCI Express PCI bus10 RBA: 00-1A-92-DF-BF- Remote Switch: PCI Bridge #2 Device 1 F3 I/O, #1Function 0 I/O Circuit Card PCI bus 11 RBA: 00-1A-92-DF-BF- Remote PCIDevice X Device 1 F3 I/O, #1 Function 0 PCI Bridge PCI bus 16 RBA:00-4A-F2-54-86- Remote Device 1 D6 I/O, #2 Function 0 PCI Express PCIbus 17 RBA: 00-4A-F2-54-86- Remote Switch: PCI Bridge #1 Device 1 D6I/O, #2 Function 0 PCI Express PCI bus 18 RBA: 00-4A-F2-54-86- RemoteSwitch: PCI Bridge #2 Device 1 D6 I/O, #2 Function 0 I/O Circuit CardPCI bus 19 RBA: 00-4A-F2-54-86- Remote PCI Device Y Device 1 D6 I/O, #2Function 0

PCI←→MAC Address Mapping for i(e)-PCI

The System Data Transfer Optimization Utility (refer to section onSystem Operation) initializes the PCI □ □ MAC Address Mapping Table. Itis analogous to the PCI □ □ IP Address Mapping Table, only this crossreference is utilized for the i(e)-PCI implementation. A copy of the PCI□ □ MAC Address Mapping Table is stored on all HBAs and RBAs. This tableprovides the MAC address that corresponds to a given PCI Bus (orsegment) on the PCI System Tree. See Table 16, Example PCI □ □ MACAddress Mapping.

-   -   The HBA or RBA reads the incoming PCI TLP and determines the        required PCI System routing and associated egress port to reach        the intended device or memory location. The determination of the        egress port is per the PCI Express Specification, as established        during system initialization.    -   An example location might be “PCI bus 11, device 31, function        6”. The HBA or RBA cross references this PCI System location to        identify the MAC address associated with the location.    -   The HBA or RBA uses this information to form a PCI Bus traffic        packet and passes the packet along with the associated MAC        address to the TOE for transmission across the network link.

TABLE 16 Example PCI □ □ MAC Address Mapping PCI RBA or HBA MAC PHYSICALPCI Device LOCATION ADDRESS LOCATION PCI Express PCI bus 1 HBA:192.168.0.1 Host Switch: Device 12 PCI Bridge Function 0 #1 PCI ExpressPCI bus 2 HBA: 192.168.0.1 Host Switch: Device 1 PCI Bridge Function 0#2 PCI Bridge PCI bus 3 HBA: 192.168.0.1 Host Device 1 Function 0 PCIBridge PCI bus 8 RBA: 192.168.0.2 Remote I/O, #1 Device 1 Function 0 PCIExpress PCI bus 9 RBA: 192.168.0.2 Remote I/O, #1 Switch: Device 1 PCIBridge Function 0 #1 PCI Express PCI bus 10 RBA: 192.168.0.2 Remote I/O,#1 Switch: Device 1 PCI Bridge Function 0 #2 I/O Circuit Card PCI bus 11RBA: 192.168.0.2 Remote I/O, #1 PCI Device X Device 1 Function 0 PCIBridge PCI bus 16 RBA: 192.168.0.3 Remote I/O, #2 Device 1 Function 0PCI Express PCI bus 17 RBA: 192.168.0.3 Remote I/O, #2 Switch: Device 1PCI Bridge Function 0 #1 PCI Express PCI bus 18 RBA: 192.168.0.3 RemoteI/O, #2 Switch: Device 1 PCI Bridge Function 0 #2 I/O Circuit Card PCIbus 19 RBA: 192.168.0.3 Remote I/O, #2 PCI Device Y Device 1 Function 0

Address Mapping for I(dc)-PCI

Address mapping for I(dc)-PCI is very simple. In that a directconnection is made and there is no network switching involved so nomapping is necessary. The PCI Express address of a device located in theremote I/O translates directly as a PCI bus/device/function location.

i-PCI Software Protocol Suite and Model

The i-PCI protocol software is not a simple monolithic solution. It is asuite consisting of several software and firmware components workingtogether at various networking layers. Refer to FIG. 28, i-PCI ProtocolModel for a diagram of the relationship between components in the suite.The protocol consists of the following components:

-   -   Application Layer    -   System Data Transfer Utility: The System Data Transfer        Optimization Utility is a boot-disk user-launched program that        runs following the BIOS scan and configuration of the PCI        System. The utility takes user input information regarding the        system configuration and optimization goals, scans the system,        initializes the HBA Remote Device Resource Cache        Reflector/Mapper (RCR/M), tunes the data pipeline according to a        desired performance emphasis, and displays the configuration        results.    -   RSYNC: This is an application that runs in HBA PCIe □ □ i-PCI        Protocol Controller and in the RBA Remote Host PCIe □ □ i-PCI        Protocol Controller. The HBA includes a complete PCI System        mirror (resource cache reflector/mapper or “RCR/M”) of all        remote PCI bridges and PCI device configuration registers. RSYNC        accomplishes resource configuration, maintenance, and        synchronization between the HBA RCR/M and the remote resources.        It is the source and receptor of the data contained in i-PCI        traffic packets.    -   PCINET: This is an application that runs in both the HBA PCIe □        □ i-PCI Protocol Controller and in the RBA Remote Host PCIe □ □        i-PCI Protocol Controller. PCINET is responsible for        sending/receiving PCI Express TLPs on an interface to the PCIe        TLP Handler, and sending/receiving link data from the HBA bus        driver or RBA bus driver. PCINET determines the appropriate        connection for data transfer (TCP in the case of i-PCI, or 10        Gbps Ethernet in the case of i(e)-PCI or i(dc)-PCI) PCINET        establishes and manages multiple connections and performs data        striping to maximize data transfer performance.    -   TLO: This is an application that runs in HBA PCIe □ □ i-PCI        Protocol Controller. The TLO optimizes I/O performance overtime        by monitoring data transfers and making dynamic adjustment to        the transfer pipeline configuration to tailor the pipeline to        the prevalent data transfer type.    -   Transport/Network Layers    -   System Data Transfer Driver: This is an upper filter driver        object that can be loaded to run automatically during the host        operating system enumeration of the PCI System. During OS        initialization, it automatically verifies and adjusts settings        according to a referenced table previously defined by the System        Data Transfer Optimization Utility. It also runs resident during        normal operation intercepting/modifying data intended for the        PCI system as necessary to facilitate the particular i-PCI        implementation.    -   PCIe TLP Handler: This is logic implemented in both the HBA PCIe        □ □ i-PCI Protocol Controller and in the RBA Remote Host PCIe □        □ i-PCI Protocol Controller. The PCIe TLP Handler accepts the        PCI Express packets that originate and terminate at the        transaction layer. Packets are passed up to PCINET for transfer        across the network or accepted from PCINET for transfer across        the local PCI Express bus.    -   HBA Bus Driver: This firmware is implemented in the HBA PCIe □ □        i-PCI Protocol Controller. The driver interfaces PCINET and        RSYNC to the HBA Bus for transfer to/from the TOE (i-PCI,        i(e)-PCI) or directly to the 10 Gbps MAC+PHY (i(dc)-PCI).    -   i-PCI/PCIe Router: This simple switch function is implemented in        the HBA network interface controller. It inspects incoming        packets coming across the data link and determines whether they        are i-PCI packets or standard network traffic packets. If they        are i-PCI packets they are routed to the HBA PCIe □ □ i-PCI        Protocol Controller; if they are standard network traffic        packets, they are routed to the HBA PCI Express Switch.    -   RBA Bus Driver: This firmware is implemented in the RBA PCIe □ □        i-PCI Protocol Controller. The driver interfaces PCINET and        RSYNC to the RBA Bus for transfer to/from the TOE (i-PCI,        i(e)-PCI) or directly to the 10 Gbps MAC+PHY (i(dc)-PCI).    -   Data Link/Physical Layer    -   PCIe DLLP Handler: This is logic implemented in both the HBA        PCIe □ □ i-PCI Protocol Controller and in the RBA Remote Host        PCIe □ □ i-PCI Protocol Controller. The PCIe DLLP Handler        accepts the local PCI Express packets that originate and        terminate at the data link layer and performs the appropriate        actions as defined by the PCI Express Specification. It also        contributes to the TLP assembly and disassembly as defined by        the PCI Express Specification. The PCIe DLLP Handler forms the        Link PDUs for the supported PCI Express DLLP functions. Data        buffering and queuing necessary to bridge between local PCI        Express links and TCP is implemented in the PCIe DLLP Handler.    -   PCIe Physical Layer Packet (Ordered Sets) Handler: This is logic        implemented in both the HBA PCIe □ □ i-PCI Protocol Controller        and in the RBA Remote Host PCIe □ □ i-PCI Protocol Controller.        The PCIe TLP Handler accepts the local PCI Express packets that        originate and terminate at the physical layer and performs the        appropriate actions as defined by the PCI Express Specification.        It also processes the TLPs and DLPs—including 8B/10B        encoding/decoding and byte striping—per the PCI Express        Specification.        i-PCI ACK/NAK Protocol: Reliable Network Transport

The purpose of i-PCI ACK/NAK Protocol is to ensure the reliabletransport of PCI Express Transaction Layer packets (TLPs) across thenetwork for the various implementations. The i-PCI ACK/NAK protocolbridges the PCI Express ACK/NAK protocol and the TCP ACK protocol in thecase of the i-PCI implementation. The i-PCI ACK/NAK protocol supportsthe PCI Express ACK/NAK protocol across the switched Ethernet and directconnect cable in the case of i(e)-PCI and I-(dc)-PCI respectfully. Thegoal is to ensure that the TLPs received at the transaction layer of thedestination are presented error-free in the same order that the sourcesent them. PCI Express requires the preservation of the sending orderwithin each virtual channel, regardless of any errors across the networklink requiring a resend.

The i-PCI ACK/NAK protocol utilizes the Link PDU, subtype PDS. PCIExpress ACK and NAK protocol support is a key function handled by thissubtype. Refer back to FIG. 22, PCI Express DLLP Support (PDS) PDU andthe associated PDU Header field tables.

ACK/NAK Protocol:

-   -   i-PCI implementation: See FIG. 29, i-PCI ACK/NAK Overview. TCP        is leveraged for flow control and ensures proper sequencing of        transactions across the IP-based network. However, ACK and NAK        of PCI Express TLPs according to the TLP sequence number is        still required for error checking, as the TCP checksum is too        weak to be relied upon for PCI transactions. So, the LCRC field        in the PCI Express TLP is utilized. However, the PCI Express        ACK/NAKs do not travel across the network link in the i-PCI        implementation. Received TLPs are checked for data integrity by        the data link layer logic on the i-PCI side of the receiving        bridge. Meanwhile, the TOE holds up the corresponding TCP ACK        until the receiving bridge confirms the data integrity of the        PCI Express TLP. The receiving bridge responds with a PCI        Express DLLP ACK or NAK as appropriate. The PCIe DLLP Handler        receives the PCI Express ACK or NAK and uses it to form a Link        PDU ACK or NAK. The i-PCI Protocol Controller cross-references        the ACK or NAK to the IP address for the source. It then        generates the IP address that corresponds to the source and        fills in the IP address field on the Link PDU. This Link PDU is        sent to the TOE.    -   In the case of an ACK: The TOE responds by sending out a TCP ACK        that specifies the next octet it needs to receive (the next        octet after the PDU that was received successfully). Both TCP        and PCI Express allow collective acknowledgement or “ACK        coalescing”. When the TOE at the other end receives the TCP ACK,        it forms a Link PDU ACK and inserts the corresponding last        received good PCI Express sequence number (the TOE must keep a        running cross reference of TCP ACKed segments vs. PCI Express        ACKed and NAKed TLPs). The PCIe DLLP Handler receives the Link        PDU ACK from the TOE and translates it into a properly formatted        PCI Express ACK and passes it to the original sending bridge.        The bridge processes the ACK and purges the associated TLP(s)        from its replay buffer as a result of the successful        transmission.    -   In the case of a NAK: A NAK should be a fairly rare occurrence,        as the TCP checksum will provide the first line of defense/error        detection. If the TOE receives a Link PDU NAK, the corresponding        TCP segment is discarded. The original sending TOE will resend        the segment when its corresponding TCP timer expires. When the        timer expires, the original TOE forms a Link PDU NAK and inserts        the last received good PCI Express sequence number (the TOE must        keep a running cross reference of TCP ACKed segments vs. PCI        Express ACKed and NAKed TLPs). The PCIe DLLP Handler receives        the Link PDU NAK from the TOE and translates it into a properly        formatted PCI Express NAK and passes it to the original sending        bridge. The bridge processes the NAK and resends the outstanding        TLP(s) in its replay buffer beginning with the last received        good sequence number+1.

The PCI Express Replay Timer in the original sending bridge willtypically expire as a result of the extra time it will take to receiveback an ACK via TCP. Upon expiration of the Replay Timer, the sendingbridge blocks acceptance of new TLPs from the transaction layer andresends the outstanding TLPs in its replay buffer. The PCI Express DLLPHandler is aware of the timer expiration and “understands” that theresend is the result of the extra time needed to return a TCP ACK acrossthe network. It intercepts the resends and does not pass them on to theTOE. The PCI Express protocol allows up to 4 expirations of the timerbefore going into a link retraining state. In event that the replaytimer expires 4 times and goes into a link retrain state, the PCIExpress DLLP Handler spoofs the link retrain sequence to reset thereplay count. The “Replay Timeout” and Replay Number Rollover” errorsthat result are both classified as a “Correctable Error” by PCI Express.The reporting of these errors is optional and for i-PCI they will bedisabled by clearing the “Correctable Error Reporting Enable” bit in theDevice Control Register. Thus, the extra time necessary to return anACK/NAK is managed locally and transparent to the host.

-   -   i(e)-PCI implementation: See FIG. 30, i(e)-PCI ACK/NAK Overview.        Since TCP is not used in this implementation, it cannot be        leveraged for flow control and ensuring proper sequencing of        transactions across the switched Ethernet network. Therefore        with i(e)-PCI, the link PDU supports the PCI Express ACK and NAK        protocol across the network link. Received TLPs are checked for        data integrity by the data link layer logic on the i-PCI side of        the receiving bridge. The receiving bridge responds with a PCI        Express DLLP ACK or NAK as appropriate. The PCIe DLLP Handler        receives the PCI Express ACK or NAK and uses it to form a Link        PDU ACK or NAK and sets the i(e)-PCI ID in the header to ensure        the packet is sent over the network by the NIC. The i-PCI        Protocol Controller cross-references the ACK or NAK to the MAC        address for the source. It then generates the MAC address that        corresponds to the source and fills in the MAC address field on        the Link PDU. The link PDU is passed on to the 10 Gbps MAC since        the i(e)-PCI ID is set.

In the case of an ACK: The MAC sends out the Link PDU ACK that specifiesthe next octet the receiving bridge is looking for (the next octet afterthe last PDU that was received successfully). When the MAC at the otherend receives the Link PDU ACK, it passes it on for transport across theProtocol bus to the PCIe DLLP Handler. The PCIe DLLP Handler receivesthe Link PDU ACK from NIC and translates it into a properly formattedPCI Express ACK and passes it to the original sending bridge. The bridgeprocesses the ACK and purges the associated TLP(s) from its replaybuffer as a result of the successful transmission.

-   -   In the case of a NAK: The MAC sends out the Link PDU NAK that        specifies the last octet the receiving bridge received        successfully. When the MAC at the other end receives the Link        PDU NAK, it passes it on for transport across the Protocol bus        to the PCIe DLLP Handler. The PCIe DLLP Handler receives the        Link PDU NAK from the NIC and translates it into a properly        formatted PCI Express NAK and passes it to the original sending        bridge. The bridge processes the NAK and resends the outstanding        TLP(s) in its replay buffer beginning with the last received        good sequence number+1.

The PCI Express Replay Timer in the original sending bridge willtypically expire even in the case of the i(e)-PCI implementation as aresult of the extra time it will take to receive back an ACK viaswitched Ethernet. Upon expiration of the Replay Timer, the sendingbridge blocks acceptance of new TLPs from the transaction layer andresends the outstanding TLPs in its replay buffer. The PCI Express DLLPHandler is aware of the timer expiration and “understands” that theresend is the result of the extra time needed to return an ACK acrossthe network. It intercepts the resends and does not pass them on. ThePCI Express protocol allows up to 4 expirations of the timer beforegoing into a link retraining state. In event that the replay timerexpires 4 times and goes into a link retrain state, the PCI Express DLLPHandler spoofs the link retrain sequence to reset the replay count. The“Replay Timeout” and Replay Number Rollover” errors that result are bothclassified as a “Correctable Error” by PCI Express. The reporting ofthese errors is optional and for i(e)-PCI they will be disabled byclearing the “Correctable Error Reporting Enable” bit in the DeviceControl Register. Thus, the extra time necessary to return an ACKINAK ismanaged locally and transparent to the host.

-   -   i(dc)-PCI implementation: See FIG. 31, i(dc)-PCI ACK/NAK        Overview. Since TCP is not used in this implementation either,        it cannot be leveraged for flow control and ensuring proper        sequencing of transactions across the external link. Therefore        with i(dc)-PCI, the link PDU supports the PCI Express ACK and        NAK protocol across the direct CATx cable connection. Received        TLPs are checked for data integrity by the data link layer logic        on the i-PCI side of the receiving bridge. The receiving bridge        responds with a PCI Express DLLP ACK or NAK as appropriate. The        PCIe DLLP Handler receives the PCI Express ACK or NAK and uses        it to form a Link PDU ACK or NAK and sets the i(dc)-PCI ID in        the header to ensure the packet is sent over the direct        connection by the NIC. There is no address field to fill out        with the i(dc)-PCI Implementation. The link PDU is passed on to        the 10 Gbps MAC, which passes it through to the PHY, unmodified.    -   In the case of an ACK: The PHY sends out the Link PDU ACK that        specifies the next octet the receiving bridge is looking for        (the next octet after the last PDU that was received        successfully). When the PHY at the other end receives the Link        PDU ACK, it passes it on through the MAC for transport across        the Protocol bus to the PCIe DLLP Handler. The PCIe DLLP Handler        receives the Link PDU ACK from the NIC and translates it into a        properly formatted PCI Express ACK and passes it to the original        sending bridge. The bridge processes the ACK and purges the        associated TLP(s) from its replay buffer as a result of the        successful transmission.    -   In the case of a NAK: The PHY sends out the Link PDU NAK that        specifies the last octet the receiving bridge received        successfully. When the PHY at the other end receives the Link        PDU NAK, it passes it on through the MAC for transport across        the Protocol bus to the PCIe DLLP Handler. The PCIe DLLP Handler        receives the Link PDU NAK from the NIC and translates it into a        properly formatted PCI Express NAK and passes it to the original        sending bridge. The bridge processes the NAK and resends the        outstanding TLP(s) in its replay buffer beginning with the last        received good sequence number+1.

The PCI Express Replay Timer in the original sending bridge may expireeven in the case of the i(dc)-PCI implementation as a result of theextra time for relaying the ACK back via the direct CATx connection.Upon expiration of the Replay Timer, the sending bridge blocksacceptance of new TLPs from the transaction layer and resends theoutstanding TLPs in its replay buffer. The PCI Express DLLP Handler isaware of the timer expiration and “understands” that the resend is theresult of the extra time needed to return an ACK across the direct CATxconnection. It intercepts the resends and does not pass them on. The PCIExpress protocol allows up to 4 expirations of the timer before goinginto a link retraining state. This is not expected to happen in the caseof the i(dc) implementation as the delay is significantly less than withthe i-PCI and i(e)-PCI implementations. As with the otherimplementations, the extra time necessary to return an ACK/NAK ismanaged locally to the HBA and is transparent to the host.

Quality of Service and i-PCI Expediting

In PCI Express, Quality of Service (QoS) is implemented via trafficclasses (TC) and virtual channels (VC). Up to seven traffic classes(TC0-TC7) and seven virtual channels are allowed. However, only one VCis required (VCO). During host system boot up and initialization, PCIsystem configuration software determines the capability of the device ateach end of a given link to support VCs. The number of VCs theconfiguration software enables for a given link is the greatest numberof VCs the two ends can support in common.

PCI Express device drivers use traffic class (TC0-TC7) as a way toprioritize a transaction for transport. During initialization, thedevice driver reports the QoS levels it requires for its transactions.The operating system responds with TC assignments for each QoS level itrequested. Armed with this association, when the device driver executesa transaction, it includes the TC assignment with the transaction. TheTC is inserted in the TLP TC header field.

During initialization the configuration software associates a given TCwith a given VC supported by a link. If only one virtual channel (VC0)is supported by a link, all TCs are mapped to the one virtual channel.Configuration software assigns the mapping of TCs to VCs duringinitialization by setting the appropriate mapping bits in the device VCresource control register (config space offset 114h) for each link. Thepriority and arbitration scheme assigned to the VCs on a link are alsoset up during initialization. PCINET has access to the VC and TCconfiguration. The configuration can vary from one boot up to the next,depending on system updates and changes.

The number of virtual channels supported by i-PCI across the networklink depends on the capability and available buffer resources of a givenHBA and RBA design. The number of virtual channels supported will rangefrom 1 for a minimal design to 7 for the most capable/high performancedesign. The capability for a given HBA and RBA design is programmed intothe configuration registers of the PCI Bridges at each end of the linkand the HBA RCR/M.

Single Channel Support:

-   -   i-PCI implementation: PCINET uses the current VC table to map        PCI Express VCs to the limited TCP segment expediting capability        for a single connection. The TCP expediting capability allows        for three levels of expediting, via the TCP header CODE field.        This capability can be utilized for i-PCI.    -   Forcing Data Delivery: PCINET can invoke a push operation (TCP        header CODE PSH bit set=1) to force TCP to deliver data as small        as a byte without waiting for the current TCP data buffer to        fill.    -   Out of band Data: PCINET can invoke an urgent operation (TCP        header CODE URG bit set=1) to instruct TCP to indicate to PCINET        on the other end to handle data specified by the urgent pointer        as a priority—disregarding the order it is received.    -   Urgent Push: PCINET can invoke an urgent push operation (TCP        header CODE URG bit set=1 & CODE PSH bit set=1) to force TCP to        deliver data as small as a byte without waiting for the current        TCP data buffer to fill and to instruct TCP to indicate to        PCINET on the other end to handle data specified by the urgent        pointer as a priority—disregarding the order it is received.

Table 17 shows an example mapping between PCIe Traffic Classes and PCIeVirtual Channels and TCP Code Fields.

-   -   i(e)-PCI implementation: PCINET uses the current VC table to        establish matching virtual channel buffers and associated        traffic classes for the HBA and each RBA. PCI Express QOS        strategy is followed. In the case where configuration software        sets up only one virtual channel, there is no QOS or expediting        capability across the network link.    -   i(dc)-PCI implementation: PCINET uses the current VC table to        establish matching virtual channel buffers and associated        traffic classes for the HBA and each RBA. PCI Express QOS        strategy is followed. In the case where configuration software        sets up only one virtual channel, there is no QOS or expediting        capability across the network link.

TABLE 17 Example PCIe TC/VC/TCP Code Fields Mapping Traffic Virtual TCPHeader Priority Class Channel Codes Group (TC) (VC) URG PSH Comments LowTC0 VC0 0 0 No Expedite High TC1 VC1 1 0 Expedite level: Low TC2-TC6 VC20 1 Expedite level: Med TC7 VC3 1 1 Expedite level: High

Optional Multiple Channel Support:

-   -   i-PCI implementation: PCINET uses the current VC table to map        PCI Express VCs to multiple TCP connections. In addition, each        of the channels can implement TCP expediting capability, via the        TCP header CODE field to achieve further expediting granularity.        Table 18 shows an example mapping between PCIe Traffic Classes        and PCIe Virtual Channels and Multiple TCP Connections.

TABLE 18 Example PCIe TC/VC Multiple Connection Mapping TCP Header CodesTC VC TCP Connection URG PSH Comments TC0 VC0 1 0 0 No Expedite TC1 VC12 1 0 Expedite level: Low TC2-TC6 VC2 3 0 1 Expedite level: Med TC7 VC34 1 1 Expedite level: High

-   -   i(e)-PCI implementation: PCINET uses the current VC table to        establish matching virtual channel buffers and associated        traffic classes for the HBA and each RBA. PCI Express QOS        strategy is followed. In the case where configuration software        sets up multiple virtual channels, the relative PCI Express QOS        is extended across the switched Ethernet.    -   i(dc)-PCI implementation: PCINET uses the current VC table to        establish matching virtual channel buffers and associated        traffic classes for the HBA and each RBA. PCI Express QOS        strategy is followed. In the case where configuration software        sets up multiple virtual channels, the relative PCI Express QOS        is extended across the direct connection.

Session Management

Session management involves connection initialization, connectionestablishment, connection management, and connection termination.

Prior to the first session, the system must be set up via the SystemData Transfer Optimization Utility. The System Data Transfer Utility isa boot-disk user-launched program that runs following the BIOS scan andconfiguration of the PCI System. The utility takes user inputinformation regarding the system configuration and optimization goals,scans the system and initializes the HBA. This initialization definesthe remote resources, including bandwidth and data transfer directionrequirements for the link between the host and each remote I/O in asetup table. This needs to done prior to first use of a remote I/O. Oncethe system has been setup the system is powered down in preparation fora reboot.

Session Management begins with host and remote power on. The scenario isfairly involved for i-PCI and very simple for i(e)-PCI and i(dc)-PCI.

i-PCI Session Management

As the host operating system initializes the PCI system during boot-upand Ethernet auto-negotiation completes, PCINET, running on the HBA,performs an active open function, which is handled by the TOE located onthe HBA. Refer to FIG. 32, i-PCI Host Session Management State Diagram,and Table 19, i-PCI Host Session Management State Descriptions.

All active Remote I/O units have already initialized themselves upontheir own power up. PCINET, executing in the RBA, performs a passiveopen function, which is handled by the TOE located on the RBA. The RBAis left in a listen state, waiting for the first segment of a three-wayhandshake from the host, to establish a connection. See FIG. 33, i-PCIRemote I/O Session Management State Diagram and Table 20, i-PCI RemoteI/O Session Management State Descriptions.

The session that results from the successful completion of the three-wayhandshake is maintained by PCINET for as long as the host system andremote I/O units remain powered.

Multiple Connections:

-   -   PCINET, running on the HBA, can request multiple connections as        necessary to optimize data transfer performance.

TABLE 19 i-PCI Host Session Management State Descriptions. StateDescription 0 PCINET application resident in the HBA ROM boots up orresets/reboots and performs BIST and saves results for diagnosticpurposes. PCINET checks the RCR/M table for the IP address and number ofinitial TCP connections to establish between the Host and the RemoteI/O. PCINET polls the local TOE via the Protocol Bus to verify the TOEis ready to establish a connection. Ethernet auto-negotiation completes.1 PCINET forms an active open command Link PDU that includes the numberof connections to establish and sends it to the TOE. The TOE receivesthis PDU. 2 The TOE begins an active open via the 3-way handshake bysending a TCP segment with the SYN flag set and the proposed initialsequence number “X”. It waits to receive a SYN + ACK in response. 3 TheTOE saves the incoming sequence number “Y” for reference. The TOEcompletes the 3-way handshake by sending a segment with the ACK flag setand the ACK field set to a value of Y + 1 to acknowledge it has savedthe incoming sequence number OK. 4 TCP Connection Established. Ready fori-PCI data transfer. TOE checks to see if multiple connections werespecified. If more connections were specified, it maintains currentconnection in State 4 and initiates the next connection beginning withState 2. Normally, all connections remain established until either thehost or the remote are reset or powered down. PCINET ensures keep aliveping Link PDU is sent to the Remote I/O per schedule and a correspondingLink PDU ACK received. 5 Close Connection and hold. A close command fromPCINET was received locally. The TOE responds by sending a TCP segmentwith the FIN flag set. It waits for an ACK to close the connection. Allother connections remain in State 4. Hold in this state until an activeopen Link PDU is received. 6 OS Shutdown. The TOE responds by sending aTCP segment with the FIN flag set for all Connections. It waits for theACKs. 7 Remote I/O Termination. Terminate all TCP connections 8 Abort. Alocal abnormal condition occurred. TOE sends segment with RST flag set .. .

TABLE 20 i-PCI Remote I/O Session Management State Descriptions. StateDescription 0 PCINET application resident in Remote I/O RBA ROM boots upresets/reboots and performs BIST and saves results for diagnosticpurposes. Ethernet auto-negotiation completes. 1 PCINET forms a passiveopen command Link PDU and sends it to the TOE. The TOE receives this PDUand establishes a TCP end point for the Remote I/O. 2 The Remote I/O isin the Listen state, waiting for an active open SYN segment from a Host.3 After receiving the SYN segment, the TOE saves the incoming sequencenumber, “X” for reference. The TOE responds by sending a segment withthe SYN and ACK flags set and its own proposed initial sequence number“Y” for the outgoing reverse direction segments. The ACK field is set toa value of X + 1 to acknowledge it has saved the incoming sequencenumber OK. 4 Wait for ACK. 5 TCP Connection Established. Ready for i-PCIdata transfer. A keep alive ping Link PDU must be received from the Hostand acknowledged at a minimum rate to maintain a connection. It alsolistens for additional active opens from the host. If the host requestsmore connections, it maintains current connection in State 5 and spawnsthe next connection beginning in State 3. 6 Keep alive maximum timeexceeded. PCINET forms a RST command link PDU and sends it to the TOE.The TOE sends a TCP segment with the RST bit set in the Code field andthen halts all further data transfers. The TCP connection is terminated.7 Close Connection. Segment received with FIN flag set. The TOE respondsby sending a segment with the ACK flag set. The TCP connection isterminated. 8 Abort. RST segment received. The TCP connection isterminated.

i(e)-PCI Session Management

There is no real formal session in the i(e)-PCI implementation. As thehost operating system initializes the PCI system during boot-up, PCINETexecuting in the HBA, configures itself for the i(e)-PCI implementation.Since the connection between the host and the remote I/O is switchedEthernet, the necessary connection is established following boot-up asan end result of the Ethernet auto-negotiation. Refer to FIG. 34,i(e)-PCI Host Session Management State Diagram, and Table 21, i(e)-PCIHost Session Management State Descriptions.

All active Remote I/O units initialize themselves when they are poweredup. PCINET, executing in the RBA, configures itself for the i(e)-PCIimplementation. The Remote I/O is also connected via switched Ethernet,so the necessary connection is established following boot-up as an endresult of the Ethernet auto-negotiation. Refer to FIG. 35, i(e)-PCIRemote I/O Session Management State Diagram, and Table 22, i-PCI RemoteI/O Session Management State Descriptions.

For the HBA and RBA, the Ethernet Auto-negotiation is handled inhardware by the LOGBASE-T PHY per IEEE 802.3an. The device at each endof the Ethernet Link advertises its capabilities to device at the otherend of the link. The auto-negotiation protocol results in the selectionof the highest common denominator capabilities that will result in theoptimal performance across the link. Typically for i(e)-PCI theauto-negotiations will be occurring between the Host and an Ethernetswitch and the Remote I/O and an Ethernet switch.

The session remains active until the system is shutdown or physicallydisconnected.

TABLE 21 i(e)-PCI Host Session Management State Descriptions. StateDescription 0 PCINET application resident in Remote I/O RBA ROM boots upor resets/reboots and performs BIST and saves results for diagnosticpurposes. Ethernet Auto-negotiation completes. 1 PCINET checks storedMAC address for the authorized host. PCINET disables the TOE fori(e)-PCI and configures the 10 Gbps NIC for the i(e)-PCI implementationvia the Protocol Bus. 2 i(e)-PCI Ethernet Connection Established andRemote I/O Ready. 3 Execute soft shut down.

TABLE 22 i(e)-PCI Remote I/O Session Management State Descriptions.State Description 0 PCINET application resident in the HBA ROM boots upor resets/reboots and performs BIST and saves results for diagnosticpurposes. 1 PCINET checks the RCR/M table for the MAC address for theremote I/O(s). PCINET configures the local TOE and 10 Gbps NIC for thei(e)-PCI implementation via the Protocol Bus. 2 i(e)-PCI EthernetConnection Established and Remote I/O Ready. 3 OS Shutdown. PCINET sendsa shutdown Link PDU to the Remote I/O.i(dc)-PCI Session Management

As with the i(e)-PCI implementation, there is no real formal session inthe i(dc)-PCI implementation. As the host operating system initializesthe PCI system during boot-up, PCINET executing in the HBA, configuresitself for the i(dc)-PCI implementation. The 10 Gbps MAC transmit logicis configured to not append a source or destination address. The 10 GbpsMAC receive logic is configured to enable promiscuous mode and disablepacket length check. The necessary connection is established followingboot-up as an end result of the Ethernet auto-negotiation. Refer to FIG.36, i(dc)-PCI Host Session Management State Diagram, and Table 23,i(dc)-PCI Host Session Management State Descriptions.

The Remote I/O unit initializes automatically when powered up. PCINET,executing in the RBA, configures itself for the i(dc)-PCIimplementation. The 10 Gbps MAC transmit logic is configured to notappend a source or destination address. The 10 Gbps MAC receive logic isconfigured to enable promiscuous mode and disable packet length check.Since the connection between the remote I/O and the host is a directconnection using Ethernet PHYs, the necessary connection is establishedfollowing boot-up as an end result of the Ethernet auto-negotiation.Refer to FIG. 37, i(dc)-PCI Remote I/O Session Management State Diagram,and Table 24, i(dc)-PCI Remote I/O Session Management StateDescriptions.

The Ethernet Auto-negotiation is handled in hardware by the two 10GBASE-T PHYs per IEEE 802.3an. The HBA PHY at one end and the RBA PHY atthe other end of the Ethernet Link advertise their capabilities to eachother. The auto-negotiation protocol results in the selection of thehighest common denominator capabilities for optimal performance. Fori(dc)-PCI this should be a perfect match.

The session remains active until the system is shutdown or physicallydisconnected.

TABLE 23 i(dc)-PCI Host Session Management State Descriptions. StateDescription 0 PCINET application resident in the HBA ROM boots up orresets/reboots and performs BIST and saves results for diagnosticpurposes. 1 PCINET configures the local TOE and 10 Gbps NIC for thei(dc)- PCI implementation via the Protocol Bus. 2 i(dc)-PCI EthernetConnection Established and Remote I/O Ready. 3 OS Shutdown. PCINET sendsa shutdown Link PDU to the Remote I/O.

TABLE 24 i(dc)-PCI Remote I/O Session Management State Descriptions.State Description 0 PCINET application resident in Remote I/O RBA ROMboots up or resets/reboots and performs BIST and saves results fordiagnostic purposes. Ethernet Auto-negotiation between the RBA PHY andHBA PHY completes. 1 PCINET disables the TOE and configures the 10 GbpsNIC for the i(dc)-PCI implementation via the Protocol Bus. 2 i(dc)-PCIEthernet Connection Established and Remote I/O Ready. 3 Execute softshut down.

Initialization and Flow Control

Due to the dynamics of the PCI and PCI Express buses at the sourceversus the destination, it is possible for data to be transmitted at ahigher rate that it can be received and drained at the other end of alink. To prevent the source from overwhelming the destination, flowcontrol is implemented.

Flow control for i-PCI is employed at multiple protocol layers usingdifferent schemes, depending on the location within the end-to-end datastream and the particular i-PCI implementation:

-   -   Physical layer data buffering and queuing on the HBA and RBA        provides a bridge between the local PCI Express flow control and        implementation-specific flow control schemes.    -   The flow control already built into the PCI Express protocol is        leveraged at the transaction and data link layers for local PCI        system traffic.    -   The Link PDU is utilized to implement flow control at the        transaction and data link level between the host HBA and the        remote RBA via a direct connection for the i(dc)-PCI        implementation.    -   The Link PDU is also utilized to implement flow control at the        Network level (running just above the Ethernet MAC) between the        host HBA and the remote RBA for the i(e)-PCI implementation.    -   The Transport layer flow control provided by TCP is leveraged        for the i-PCI implementation to bridge between the host HBA and        the remote I/O RBA via the Internet.

Refer to FIG. 38, i-PCI Flow Control for a block diagram showing therelationship between the various flow control mechanisms.

PCI Express Flow Control

PCI Express Flow Control provides link-level flow control betweentransmitter and receiver of each link in the local PCI System on thehost and the remote I/O.

-   -   Flow control logic is located in the transaction and data link        layers of each devices located at opposite ends of a given        point-to-point link.    -   Flow control for the link is managed separately for each virtual        channel and by the transaction type.

During initialization, the receiver logic in each device reports thesize of its buffer to the transmitter at the opposite end of the link.There is buffer size reported for each virtual channel (VC) andtransaction type. There can be anywhere from a minimum of 1 to a maximumof 8 virtual channels per link. The size of a buffer associated with aVC and transaction type is expressed in terms of “flow control credits”.Refer to FIG. 39, PCI Express Flow Control Initialization State Diagramand Table 25, PCI Express Flow Control Initialization State Descriptionsfor additional details.

Following initialization, the link is ready for normal operation. Whenthere is a TLP ready to send, the transmitter logic first checks to seeif there is corresponding buffer space available at the receiver beforeit transmits. If the particular receive buffer is full, the transmitteris blocked on that VC, subject to PCI Express transaction orderingrules. As soon as buffer space becomes available, the transmitter iscleared to send. During normal operation, each device at opposite endsof the link regularly updates the flow control credits that it hasavailable by sending out flow control DLLPs to other device. See FIG.40, PCI Express Transmitter Flow Control State Diagram. And, refer toTable 26, PCI Express Transmitter Flow Control State Descriptions.

Upon receipt of a TLP, the receiver logic for the device removes thetransaction data and updates the number of flow control credits it hasavailable based on the amount of data it removed. The receiver maintainsa running count of the entire buffer space made available in each of thesix receive buffers since initialization. The device then provides thisinformation to the device at the other end to the link by sending out aflow control DLLP. See FIG. 41, PCI Express Receiver Flow Control StateDiagram. And, refer to Table 27, PCI Express Receiver Flow Control StateDescriptions.

TABLE 25 PCI Express Flow Control Initialization State DescriptionsState Description 0 VC0 Flow Control Initialization FC_INIT1: VC0initialization is hard coded in the device logic to allow boot up of thelink. All TLPs are blocked at this point. There are six receive buffersassociated with VC0: 1) Posted Header buffer 2) Posted Data buffer 3)Non-posted Header buffer 4) Non-posted Data buffer 5) Completion Headerbuffer 6) Completion data buffer. Three flow control FC_INIT1 DLLPs areformed by each device at opposite ends of a link. The first packetcontains Posted Header buffer and Posted Data buffer sizes (expressed asflow control credits), the second packet contains Non- posted Headerbuffer and Non-posted Data buffer sizes (expressed as flow controlcredits), and the third packet contains Completion Header buffer andCompletion data buffer sizes (expressed as flow control credits). Thetransmitters at each end of a link send a continuous sequence of thesethree FC_INIT1 Flow Control packets to the receiver at the opposite endof the link. This continues until each device has successfully sent andreceived the three-packet sequence. The corresponding transmitter CreditLimit registers are then initialized with the associated flow controlcredit values received. An internal device Flag, FI1, is set, indicatingsuccessful completion of FC_INIT1 for VC0. 1 VC0 Flow ControlInitialization Confirmation FC_INIT2: Three flow control FC_INIT2 DLLPsare formed by each device at opposite ends of a link. The first packetcontains Posted Header buffer and Posted Data buffer sizes (expressed asflow control credits), the second packet contains Non-posted Headerbuffer and Non-posted Data buffer sizes, and the third packet containsCompletion Header buffer and Completion data buffer sizes. Thetransmitters at each end of a link send a continuous sequence of these 3FC_INIT2 Flow Control packets to the receiver at the opposite end of thelink, similar as was done in State 0, except in this state the flowcontrol credits are discarded. The sending of FC_INIT2 packets is thehandshake signal to the other device that FC_INIT1 was completedsuccessfully. As soon as just one FC_INIT2 packet is received, aninternal device Flag 2 is set for VC0, indicating successful completionof FC_INIT2. This ends the flow control initialization for VC0. TLPs maynow proceed via VC0. 2 Host PCI system configuration software employsTLPs via VC0 to check the number of additional VCs supported by thedevices at each end of the link. If there are no more VCs supported,flow control initialization is complete. If there are additionalsupported VCs the configuration software then sets up and enables theadditional virtual channels for each link. The number of virtualchannels (VCs) enabled for a given link is equal to the maximum numberof virtual channels the two devices at each end of the link has incommon. The number of virtual channels ranges from 1 (no additional VCs—only VC0) to 8 (the maximum number of virtual channels a link canhave). 3 VC1-VC7 Flow Control Initialization FC_INIT1: All TLPs areblocked on VC1-VC7. There are six receive buffers associated with agiven virtual channel: 1) Posted Header buffer 2) Posted Data buffer 3)Non- posted Header buffer 4) Non-posted Data buffer 5) Completion Headerbuffer 6) Completion data buffer. Three flow control FC_INIT1 DLLPs areformed by each device at opposite ends of a link. The first packetcontains Posted Header buffer and Posted Data buffer sizes (expressed asflow control credits), the second packet contains Non- posted Headerbuffer and Non-posted Data buffer sizes (expressed as flow controlcredits), and the third packet contains Completion Header buffer andCompletion data buffer sizes (expressed as flow control credits). Thetransmitters at each end of a link send a continuous sequence of thesethree FC_INIT1 Flow Control packets to the receiver at the opposite endof the link. This continues until each device has successfully sent andreceived the three packet sequence. The corresponding transmitter CreditLimit registers are then initialized with the associated flow controlcredit values received. An internal device Flag, FI1, is set, indicatingsuccessful completion of FC_INIT1 for the corresponding VC. 4 VC1-VC7Flow Control Initialization Confirmation FC_INIT2: Three flow controlFC_INIT2 DLLPs are formed by each device at opposite ends of a link. Thefirst packet contains Posted Header buffer and Posted Data buffer sizes(expressed as flow control credits), the second packet containsNon-posted Header buffer and Non-posted Data buffer sizes, and the thirdpacket contains Completion Header buffer and Completion data buffersizes. The transmitters at each end of a link send a continuous sequenceof these 3 FC_INIT2 Flow Control packets to the receiver at the oppositeend of the link, similar as was done in State 2, except in this statethe flow control credits are discarded. The sending of FC_INIT2 packetsis the handshake signal to the other device that FC_INIT1 was completedsuccessfully. As soon as just one FC_INIT2 packet is received, aninternal device Flag 2 is set for the virtual channel, indicatingsuccessful completion of FC_INIT2. This ends the flow controlinitialization for the particular VC. TLPs may now proceed via theparticular VC.

TABLE 26 PCI Express Transmitter Flow Control State Descriptions. StateDescription 0 Initialization of the enabled Virtual Channel (VC) iscomplete. The Link is ready for normal operation. Link State =DL_Active, per the PCI Express Specification. The Pending TransactionBuffer is empty. The six Credit Limit (CL) registers for the virtualchannel contain the initialized values in flow control credits thatcorrespond to the sizes of the six associated receive buffers at theopposite end of the link. The Credit Consumed Counter (CC) is at zero. 1TLP Data in Pending Transaction Buffer. Transmitter logic determines thetransaction type and checks the corresponding CL register to see ifsufficient flow control credits are available for the particular virtualchannel. It ensures that [CC counter flow control credits] + [pendingtransaction required flow control credits] ≦ {CL counter flow controlcredits) If there are sufficient credits, the transmitter is cleared tosend. 2 Transmit TLP. The Credit Consumed (CC) counter is updated toreflect the total number of flow control credits consumed sinceinitialization. 3 Insufficient flow control credits for the TLPtransaction type. TLP Transmit is blocked on a particular virtualchannel for a particular transaction type, subject to the PCI Expresstransaction ordering rules. Recheck for credits until credits becomeavailable. 4 Transmit Buffer Empty. Idle. 5 Flow Control Update.Transmitter sends a flow control credit update DLLP. The credit updateDLLP contains the latest count contained in the devices Credit AllocatedCounter. Updates for each of the device's six receive buffers for the VCis sent at a minimum frequency and as otherwise required per the PCIExpress Specification. The update is used by the device at the oppositeend of the link to revise its corresponding CL registers for referenceby its transmitter logic.

TABLE 27 PCI Express Receiver Flow Control State Descriptions. StateDescription 0 Initialization of the enabled Virtual Channel (VC) iscomplete. The Link is ready for normal operation. Link State =DL_Active, per the PCI Express Specification. The Transaction ReceiveBuffer is empty. The Credits Allocated counter for the virtual channelcontain the initialized values in flow control credits that correspondto the sizes of the device's six associated receive buffers. 1 TLP Datain Receive Buffer. Data is transferred to the corresponding flow controlreceive buffer. The six receive buffers fill as data arrives and theamount of available buffer space decreases accordingly. The receiverlogic removes transaction data from the buffer for processing. Thenumber of flow control credits associated with the transaction dataremoved is tracked by the Credits Allocated counter. Thus, the CreditsAllocated counter maintains a running count of all the buffer space madeavailable in each of the six receive buffers since initialization. 2Receive Buffer Empty. Idle. 3 Flow Control Update DLLP in ReceiveBuffer: The DLLP is removed and processed by the receiver logic. Thecredit update DLLP contains the latest count (in flow control credits)contained in the Credit Allocated Counter of the device at the oppositeend of the link. Updates for each of the other device's six receivebuffers for the VC is received at a minimum frequency and as otherwiserequired per the PCI Express Specification. The update is used to updatethe corresponding CL registers for reference by the device's transmitterlogic.

i-PCI Implementation Flow Control

TCP provides Host-to-Remote I/O flow control across the IP networkutilized in the i-PCI implementation. TCP using a sliding window schemeas the primary flow control method to ensure reliable delivery. Thewindow is the amount of data sent that has not yet been ACKed. Each ACKsent in response to received data contains a window advertisement thatspecifies how much data it can currently accept. Although i-PCI utilizesTCP flow control, it includes some additional specific requirements.

Flow control occurs at both the transmitter and the receiver ends of aTCP connection. Since a connection is bi-directional, each end of aconnection implements transmitter and receiver flow control. ForTransmitter Flow Control see FIG. 42, i-PCI TCP Transmitter Network FlowControl State Diagram and Table 28, i-PCI TCP Transmitter Flow ControlState Descriptions. For Transmitter Flow Control see FIG. 43, i-PCI TCPReceiver Network Flow Control State Diagram and Table 29, i-PCI TCPReceiver Flow Control State Descriptions.

TABLE 28 i-PCI TCP Transmitter Flow Control State Descriptions. StateDescription 0 TOE idle. Wait for a local outgoing PDU received in itsdual port RAM (DPRAM) buffer. 1 When a PDU appears in the DPRAM, the TOEtransfers the PDU into the back of its outgoing buffer queue as asequence of octets. The octets are used to form a TCP segment up to themaximum segment size (MSS*), beginning with the last octet sequencenumber ACKed + 1. TOE looks at the PDU HK Header Status/Command Field tosee if expediting is specified (PSH or URG). If URG = 1, the TOE setsthe URG flag = 1 in the TCP Code field of the segment that contains thePDU. If PSH = 1 the TOE sets the PSH flag = 1 in the TCP Code field ofthe segment that contains the PDU and halts the segment build at thatpoint. 2 Hold pending transmit. Wait to transmit, if necessary, per TCPsliding windows protocol and congestion avoidance protocols. 3 Transmit.Save segment and set timer per current timeout value per round tripestimation and back-off algorithms. Following transmission, the outgoingbuffer queue is checked to see if there is more outgoing data. 4Re-transmit segment associated with expired timer. *Note: The MSS - inoctets - was negotiated and set during initialization, based on thenetwork MTU, buffer sizes, and other factors.

TABLE 29 i-PCI TCP Receiver Flow Control State Descriptions. StateDescription 0 TOE idle. Wait for incoming TCP data transfer segment. 1TOE performs checksum on a segment. 2 Discard Segment.. 3 The TOEreassembles the PDU. It holds off sending any ACKs at this time. Itchecks the code field to see if any expediting has been specified (PSHor URG). If the push and/or urgent flags are set, it immediatelytransfers the reassembled PDU over the Protocol bus to the i-PCIprotocol Controller's DPRAM*. If no push or urgent flags are set, ittransfers the reassembled PDU over the Protocol bus to the i-PCIprotocol Controller's DPRAM as per normal operation. The PCIe DLLPHandler transfers the PDU to the PCI Bridge. The bridge CRC logicconfirms the data integrity and responds with a DLLP ACK or NAK asappropriate. The PCIe DLLP Handler receives the ACK or NAK and forms aLink PDU. This link PDU is sent to the TOE. The TOE holds up sending aTCP ACK until it receives a PCI Express PDU NAK or ACK. 4 If a PDU NAKwas received, no ACK is sent. If a PDU ACK was received, a TCP ACK issent that specifies the next octet it needs to receive. The ACK alsoincludes a window advertisement for the amount of data (in octets) it isprepared to accept (based on room in it's buffer). *Note It is up to thei-PCI Protocol Controller to interpret the push and urgent flags andtranslate to the appropriate PCI Express traffic class or otherspecified action.

i(e)-PCI Implementation Flow Control

In the i(e)-PCI Implementation, the Link PDS PDU “Buff Util” field isutilized to implement flow control between the HBA and a RBA across thenetwork link.

The PCI Express flow control protocol is not supported across theswitched Ethernet LAN and is effectively disabled at initialization. Itcan be seen from Table 6, PCI Express DLLPs and PDU Mapping for i(e)-PCIthat PCI Express flow control DLLPs are not mapped. Duringinitialization, the PCIe DLLP Handler, simply returns an “infinite” flowcontrol credit value on all virtual channels. This eliminates anyFC-Update packet generation and all subsequent PCI Express Flow Controlrelated DLLP traffic on the i(e)-PCI side of the PCI bridge.

The transmitter NIC i-PCI/PCIe Router logic monitors the space availablein each of its Virtual Channel (VC) TLP receive buffers. Whenever a PDUis sent across the link, the percent buffer utilization is reported backvia the Buff Util field. The ACK/NAK PDS PDU is the primary feedbackmechanism. Table 10, Link PDU Header Field: “Buff Util”, shows that thepercent utilization falls into 1 of 4 conditions and 3 “color”categories. The color categories are meant to function as a “datatransfer traffic light” for the transmitter. The first two conditionsare grouped into the “green light” category; meaning adequate receiverbuffer space is available. The next condition is the “yellow light”warning category, meaning receiver buffer space is limited and datatransmission should be throttled back. The final condition is the “redlight” category, meaning receive buffer space is critical, and furthertransmission should be halted until a yellow or green category isindicated.

In the case of a red light, the transmitter halts transmission until itreceives a PDU that indicates the buffer utilization has fallen to theyellow or green category. The Receiver NI logic generates a Link PDS PDUwith the Function field set to “Buffer Status” to notify the source whenit has freed up enough buffer space to fall to the yellow or greencategory.

For Transmitter Flow Control see FIG. 44, i(e)-PCI Transmitter FlowControl State Diagram and Table 30, i(e)-PCI Transmitter Flow ControlState Descriptions. For Receiver Flow Control see FIG. 45, i(e)-PCIReceiver Flow Control State Diagram and Table 31, i(e)-PCI Receiver FlowControl State Descriptions.

TABLE 30 i(e)-PCI Transmitter Flow Control State Descriptions. StateDescription 0 NIC idle. Wait for a local outgoing PDU received in theapplicable dual port RAM (DPRAM) buffer for a given VC or a color changein local receiver buffer utilization. 1 NIC Forms a Link PDS PDU withthe function field set to “Buffer Status” to notify source. 2 NIC checksto see if it is a Link PDU or a PCI Bus TLP Traffic PDU. 3 Check thecurrent percent utilization status of the destination receive buffer. 4Hold transmission pending receipt of a Link PDU from the destinationindicating buffer utilization has fallen to a yellow or green condition.5 Category: Yellow light. Delay per an algorithm, then Transmit PDU. Thedelay algorithm can be any that optimally balances buffer utilizationversus performance. 6 Category: Green light. Transmit PDU. 7 The NICchecks the current state of the local receive VC buffer that correspondsto the outgoing VC. It sets the appropriate bits in the Buff Utilregister to reflect the space available.

TABLE 31 i(e)-PCI Receiver Flow Control State Descriptions. StateDescription 0 NIC idle. Wait for a local incoming PDU received in theapplicable dual port RAM (DPRAM) buffer for a given VC. 1 NIC checks tosee if it is a Link PDU or a PCI Bus TLP Traffic PDU. 2 NIC inspects thePDU Buffer Status Field and updates the percent utilization status ofthe destination receive buffer. 3 NIC passes PDU on to the i-PCIProtocol Controller via the Protocol Bus.

i(dc)-PCI Implementation Link Flow Control

The i(dc) flow control is essentially the same mechanism as describedfor the i(e)-PCI implementation. The Link PDS PDU “Buff Util” field isutilized to implement flow control between the HBA and a RBA across thedirect connection.

The PCI Express flow control protocol is not supported across the directconnection and is effectively disabled at initialization. It can be seenfrom Table 7, PCI Express DLLPs and PDU Mapping for i(dc)-PCI that PCIExpress flow control DLLPs are not mapped. During initialization, thePCIe DLLP Handler, simply returns an “infinite” flow control creditvalue on all 8 virtual channels. This eliminates any FC-Update packetgeneration and all subsequent PCI Express Flow Control related DLLPtraffic on the i(dc)-PCI side of the PCI bridge.

The transmitter NIC i-PCI/PCIe Router logic monitors the space availablein each of its Virtual Channel (VC) TLP receive buffers. Whenever a PDUis sent across the link, the percent buffer utilization is reported backvia the Buff Util field. The ACK/NAK PDS PDU is the primary feedbackmechanism. Table 10, Link PDU Header Field: “Buff Util”, shows that thepercent utilization falls into 1 of 4 conditions and 3 “color”categories. The color categories are meant to function as a “datatransfer traffic light” for the transmitter. The first two conditionsare grouped into the “green light” category; meaning adequate receiverbuffer space is available. The next condition is the “yellow light”warning category, meaning receiver buffer space is limited and datatransmission should be throttled back. The final condition is the “redlight” category, meaning receive buffer space is critical, and furthertransmission should be halted until a yellow or green category isindicated.

In the case of a red light, the transmitter halts transmission until itreceives a PDU back that indicates the buffer utilization has fallen tothe yellow or green category. The Receiver NI logic generates a Link PDSPDU with the Function field set to “Buffer Status” to notify the sourceat the point it has freed up enough buffer space to fall to the yellowor green category.

For Transmitter Flow Control see FIG. 46, i(dc)-PCI Transmitter FlowControl State Diagram and Table 32, i(dc)-PCI Transmitter Flow ControlState Descriptions. For Receiver Flow Control see FIG. 47, i(dc)-PCIReceiver Flow Control State Diagram and Table 33, i(dc)-PCI ReceiverFlow Control State Descriptions.

TABLE 32 i(dc)-PCI Transmitter Flow Control State Descriptions. StateDescription 0 NIC idle. Wait for a local outgoing PDU received in theapplicable dual port RAM (DPRAM) buffer for a given VC or a color changein local receiver buffer utilization. 1 NIC Forms a Link PDS PDU withthe function field set to “Buffer Status” to notify source. 2 NIC checksto see if it is a Link PDU or a PCI Bus TLP Traffic PDU. 3 Check thecurrent percent utilization status of the destination receive buffer. 4Hold transmission pending receipt of a Link PDU from the destinationindicating buffer utilization has fallen to a yellow or green condition.5 Category: Yellow light. Delay per an algorithm, then Transmit PDU. Thedelay algorithm can be any that optimally balances buffer utilizationversus performance. 6 Category: Green light. Transmit PDU. 7 The NICchecks the current state of the local receive VC buffer that correspondsto the outgoing VC. It sets the appropriate bits in the Buff Utilregister to reflect the space available.

TABLE 33 i(dc)-PCI Receiver Flow Control State Descriptions. StateDescription 0 NIC idle. Wait for a local incoming PDU received in theapplicable dual port RAM (DPRAM) buffer for a given VC. 1 NIC checks tosee if it is a Link PDU or a PCI Bus TLP Traffic PDU. 2 NIC inspects thePDU Buffer Status Field and updates the percent utilization status ofthe destination receive buffer. 3 NIC passes PDU on to the i-PCIProtocol Controller via the Protocol Bus.

HBA and RBA Data Buffer Memory

i-PCI needs to provide the deep data buffering necessary to smooth dataflow between the local PCIExpress link and the network link. The PCIeTLP Handler in the I-PCI Protocol Controller and the i-PCI/PCIe Routerin the NIC implement the data buffering/queuing and flow control tobridge the links.

The data buffering also serves as a transaction ordering checkpoint. PCIExpress imposes ordering rules based on three types of transactions:

1. Posted

2. Non-Posted

3. Completions

The transaction ordering rules guarantee that TLPs are routed in thecorrect order through the PCI system. i-PCI must provide the means tomaintain this data ordering at the interface points to the local PCIExpress bus. These interface points are on the HBA on the downstreamside of the PCI Express switch and on the RBA just upstream of the PCIExpress Switch.

Six buffers are implemented in SRAM for the default maximum 8 virtualchannels. Thus a total of 6×8=48 buffers are set up at each end of thelink. These six buffers are:

1. Posted Header

2. Posted Data

3. Non-posted Header

4. Non-posted Data

-   -   5. Non-posted Header Completion

6. Non-posted Data Completion

Since the links are bi-directional, there is a set of 48 buffer requiredfor transmit and a set of 48 buffers required for receive.

During initialization, the PCIe DLLP Handler, simply returns an“infinite” flow control credit value on all 8 virtual channels. Thiseliminates any FC-Update packet generation.

Robustness

In terms of robustness, the goal of the PCI system and therefore i-PCIis to assure the integrity of user application data transfers to a highdegree of certainty. Two key parts of a robust data transfer are:

1. Error Detection

2. Error Handling

Error Detection

Error detection tends to be computationally intensive, consumingprocessor cycles and resources, while adding latency. Therefore, fori-PCI it is desirable to minimize additional error detection and insteadleverage the existing error detection already implemented as part of PCIExpress, Ethernet, IP, and TCP. With leveraging the error detection ofthese protocols, only error detection for the Link PDU is unique toi-PCI. The end-to-end error detection architecture varies depending onthe i-PCI Implementation. See FIG. 48, i-PCI Error Detection Overview,FIG. 49, i(e)-PCI Error Detection Overview and FIG. 50, i(dc)-PCI ErrorDetection Overview.

PCI Express Error Detection

There are two types of PCI Express packets that must be considered.Error detection is handled differently for each:

-   -   DLLPs: PCI Express DLLPs do not contain user application data        and do not proceed past the endpoints of a given PCI Express        link. For i-PCI, the primary concern is the ACK and NAK DLLPs.        These are the only DLLPs that traverse the network link and only        in the i-(e)-PCI and i(dc)-PCI implementations. Other DLLPs are        terminated locally by the PCIe DLLP Handler in the i-PCI        Protocol Controller.    -   DLLPs contain a 16-bit CRC in the last two byte positions. The        CRC is computed on the DLLP by the transmitting data link layer        per the PCI Express specified algorithm then passed down to the        physical layer and transmitted.    -   The DLLP is received by the physical layer of the device at the        other end of the link and passed up to the data link layer. The        datalink layer applies the same CRC algorithm used by the        transmitting device. The calculated value is compared to the        received value contained in the CRC field of the DLLP.    -   If the two values are equal, the DLLP is accepted and processed.    -   If the two values are not equal, the DLLP is considered corrupt        and discarded. There is no retry for DLLPs. An error is reported        (Correctable Error).    -   TLLPs: PCI Express TLLPs contain user application data. Data        integrity of TLPs is assured via two CRCs. The LCRC is a data        link level CRC and is mandatory. The ECRC is an function level        CRC and is optional, per the PCI Express Specification

1. LCRC: TLPs contain a 32-bit CRC in the last four byte positions.

-   -   TLP Header and Data are passed down from the transaction layer        to the data link layer. The sequence number is added to the        packet and the CRC is computed on the TLP per the PCI Express        specified algorithm then passed down to the physical layer and        transmitted.    -   The TLP is received by the physical layer of the device at the        other end of the link and is passed up to the data link layer.        The data link layer applies the same LCRC algorithm used by the        transmitting device. The calculated value is compared to the        received value contained in the CRC field of the TLP.    -   If the two values are equal, the TLP is accepted, processed, and        passed up to the transaction layer. An ACK DLLP is formed then        passed down to the physical layer and transmitted.    -   If the two values are not equal, the TLP is considered corrupt        and discarded. The data link retry mechanism is triggered (refer        to sections on Flow Control and the ACK/NAK Protocol). A NAK        DLLP is formed then passed down to the physical layer and        transmitted.

2. ECRC: In addition to the LCRC, TLPs can accommodate an optional32-bit CRC End-to-End CRC (ECRC) placed in the TLP Digest field at theend of the Data field.

-   -   The ECRC serves as a function-level end-to-end CRC. The ECRC is        calculated by the application or an end device function, per the        PCI Express Specification. TLP Header and Data are added and        passed down from the transaction layer to the data link layer.        The sequence number is added to the packet and the LCRC is        computed on the TLP per the PCI Express specified algorithm then        passed down to the physical layer and transmitted.    -   The TLP is received by the physical layer of the device at the        other end of the link and are passed up to the data link layer.        The data link layer applies the same LCRC algorithm used by the        transmitting device. The calculated value is compared to the        received value contained in the LCRC field of the TLP.    -   If the two LCRC values are equal, the TLP is accepted,        processed, and passed up to the transaction layer. An ACK DLLP        is formed then passed down to the physical layer and        transmitted.    -   If the receiver is the ultimate end destination, the ECRC is        calculated using the same CRC algorithm used by the originating        device. The calculated value is compared to the received value.        It is up to the end application to determine how to manage the        end-to-end integrity check or resend protocol. i-PCI does not        depend on this CRC being implemented for data integrity.    -   If the receiver is not the ultimate destination, the device may        optionally check the ECRC and report any errors.    -   If the two LCRC values are not equal, the TLP is considered        corrupt and discarded. The data link retry mechanism is        triggered (refer to sections on Flow Control and the ACK/NAK        Protocol). A NAK DLLP is formed then passed down to the physical        layer and transmitted.

Ethernet Error Detection

Ethernet error detection is applicable to all three implementations.Data integrity of packets associated with i-PCI traffic via an Ethernetdata link is assured by the 32-bit CRC computed and placed in the FrameCheck Sequence field of an Ethernet packet.

-   -   The sending device takes data passed down from the network layer        and forms an Ethernet packet at the data link layer. The 32-bit        CRC is calculated and inserted in the Frame Check Sequence        field. The packet is then passed down to the physical layer and        transmitted.    -   The Ethernet packet is received by the physical layer of a        switch in transit and is passed up to the Ethernet data link        layer. The data link layer applies the same CRC algorithm used        by the transmitting device. The calculated value is compared to        the received value contained in the Frame Check Sequence field        of the Ethernet Header.    -   If the two values are equal, the Ethernet packet is switched and        then passed down to the physical layer and transmitted on.    -   If the two values are not equal, the Ethernet packet is        considered corrupt and discarded. The packet is lost.    -   If not lost en-route, the Ethernet packet reaches the ultimate        destination and is passed up to the Ethernet data link layer.        The data link layer applies the same CRC algorithm used by the        transmitting device. The calculated value is compared to the        received value contained in the Frame Check Sequence field of        the Ethernet Header.    -   If the two values are equal, the Ethernet packet is accepted,        processed, and passed up to the next layer.    -   If the two values are not equal, the Ethernet packet is        considered corrupt and discarded.

IP Error Detection

IP error detection is applicable to i-PCI but is not applicable fori(e)-PCI or i(dc)-PCI implementations. The IP header checksum justcovers the IP header, not the data. The strategy with just covering theIP header rather than the whole datagram is that it reduces routercomplexity and speeds delivery.

-   -   The sending device takes data from the TCP layer and passes it        down to the IP layer. The IP layer calculates the IP checksum by        treating the header as a series of 16-bit integers, adding them        together using 1's compliment and then taking the 1's compliment        of the result. Since the header includes the source and        destination address, the critical routing data integrity is        assured. The IP datagram is then passed down to the Ethernet        Protocol. The Ethernet Protocol forms an Ethernet packet at the        data link layer. The 32-bit CRC is calculated and inserted in        the Frame Check Sequence field. The packet is then passed down        to the physical layer and transmitted.    -   The datagram is received by the physical layer of a router in        transit and is passed up to the Ethernet data link layer. The        data link layer applies the same Ethernet CRC algorithm used by        the transmitting device. The calculated value is compared to the        received value contained in the Frame Check Sequence field of        the Ethernet Header.    -   If the two values are equal, the Ethernet packet is passed up to        the IP Network layer    -   The IP layer applies the same checksum algorithm used by the        transmitting device. The calculated value is compared to the        received value contained in the checksum field of the IP Header.    -   If the two values are equal, the IP datagram is accepted,        processed, routed, and then passed down to the physical layer        and transmitted on.    -   If the two values are not equal, the IP datagram is considered        corrupt and discarded. The datagram is lost.    -   If the two values are not equal, the Ethernet packet is        considered corrupt and discarded. The packet is lost.    -   If not lost en-route, the datagram reaches the ultimate        destination and is passed up to the Ethernet data link layer.        The data link layer applies the same Ethernet CRC algorithm used        by the transmitting device. The calculated value is compared to        the received value contained in the Frame Check Sequence field        of the Ethernet Header.    -   If the two values are equal, the Ethernet packet is accepted,        processed, and passed up to the IP protocol.    -   The IP layer applies the same checksum algorithm used by the        transmitting device. The calculated value is compared to the        received value contained in the checksum field of the IP Header.    -   If the two values are equal, the IP datagram is accepted,        processed, and passed up the TCP protocol.    -   If the two values are not equal, the IP datagram is considered        corrupt and discarded. The datagram is lost.    -   If the two values are not equal, the Ethernet packet is        considered corrupt and discarded. The packet does not get passed        up to the IP layer.

TCP Error Detection

TCP error detection is applicable to i-PCI but is not applicable fori(e)-PCI or i(dc)-PCI implementations. TCP provides end-to-end errordetection from the original source to the ultimate destination acrossthe Internet. The TCP header includes a field that contains the 16-bitchecksum. The TCP checksum is considered relatively weak in comparisonto the 32-bit CRC implemented by PCI Express. Ethernet's 32-bit CRCprovides strong data link level assurance, but does not cover the datatransfers that happen within switches and routers between the links;TCP's checksum does.

-   -   The sending device's TCP software (i.e. the TOE in the HBA or        RBA) on the transmitting end of the connection receives data        from an application, calculates the checksum, and places it in        the TCP segment checksum field. To compute the checksum, TCP        software adds a pseudo header to the segment, adds enough zeros        to pad the segment to a multiple of 16 bits, then performs a        16-bit checksum on the whole thing. The TCP segment is then        passed down to the IP Protocol. The IP layer calculates the IP        checksum. The IP datagram is then passed down to the Ethernet        Protocol. The Ethernet Protocol forms an Ethernet packet at the        data link layer. The 32-bit CRC is calculated and inserted in        the Frame Check Sequence field. The packet is then passed down        to the physical layer and transmitted.    -   If not lost en-route, the datagram reaches the ultimate        destination and is passed up to the Ethernet data link layer.        The data link layer applies the same Ethernet CRC algorithm used        by the transmitting device. The calculated value is compared to        the received value contained in the Frame Check Sequence field        of the Ethernet Header.    -   If the two values are equal, the Ethernet packet is accepted,        processed, and passed up to the IP protocol.    -   The IP layer applies the same IP checksum algorithm used by the        transmitting device. The calculated value is compared to the        received value contained in the checksum field of the IP Header.    -   If the two values are equal, the IP datagram is accepted,        processed, and passed up the TCP protocol.    -   The TCP layer applies the same TCP checksum algorithm used by        the transmitting device. The calculated value is compared to the        received value contained in the checksum field of the TCP        Header.    -   If the two values are equal, the TCP segment is accepted,        processed and passed up to the application. The sequence number        is noted and the TCP ACK protocol is informed.    -   If the two values are not equal, the segment is discarded.    -   If the two values are not equal, the IP datagram is considered        corrupt and discarded.    -   If the two values are not equal, the Ethernet packet is        considered corrupt and discarded. The packet does not get passed        up to the IP layer.

Link PDU Error Detection

All Link PDUs are generated by the i-PCI Protocol Controller in the HBAand RBA. There are two types of Link PDUs and the error detection isdifferent for each:

-   -   PDS PDU: The PDS PDU is a fixed length of 15 bytes or 17 bytes        if the optional Header CRC is selected. PCI Express ACK and NAK        protocol support is one of the primary functions handled by the        PDS PDU. The PDS DLLP Field directly maps to the PCI Express        DLLP ACK or NAK “Reserved”, “AckNak_Seq_Num”, and “16-bit CRC”        fields. In the case of the ACK/NAK DLLP, the last 12 bits of the        field contain the Sequence number for the last received good        TLP. The sending and receiving bridges calculate the PCI Express        16-bit CRC field as part of the PCI Express Protocol.    -   CSS PDU: The i-PCI protocol requires the i-PCI Protocol        Controller in the HBA to be able to contact the i-PCI Protocol        Controller in each RBA for command & control and        synchronization. The RSYNC application running on the i-PCI        Protocol Controller accomplishes these tasks utilizing the Link        PDU. The Link PDU “subtype” that provides this capability is        referred to as the Command & Control/Synchronization (CCS) PDU.        In contrast to the PDS PDU, the CCS PDU has a payload field that        varies in length, depending on the CMD/RSP field. There is no        length field as the length is defined specific to the Command or        Response. A 32-bit CRC is calculated and added to the end of the        CCS Link PDU to cover the entire PDU. See FIG. 51 Link PDU,        Subtype CSS Error Detection Overview        i-PCI PDU Header Optional CRC

The 2-byte PCI Bus TLP Traffic PDU HK Header and the 2-byte PCI ExpressDLLP Support (PDS) PDU Header are covered by the Ethernet CRCcalculation in all three implementations. However, this does not provideprotection for the headers during internal processing and transferswithin Ethernet switches and IP routers. Both headers are also coveredin the TCP checksum calculation in the i-PCI implementation. However,the TCP checksum may be considered inadequate for high data integrityapplications. Therefore, as an option, a separate 16-bit CRC, specificto i-PCI, may be calculated for the header and appended to the header ifadditional data integrity is desired. The option is specified duringconfiguration and is indicated in the CRC field of the headers. Anapplication is able to tradeoff data integrity versus reduced complexityand reduced latency through this option. The non-CRC option isillustrated in the Error Detection Overviews (FIGS. 48-50)

Error Handling

i-PCI leverages two levels of error handling.

1. The first level is the inherent PCI Express error handling mechanismfor TLPs. Each TLP has a sequence number added by the sender at the datalink layer. The sender keeps the specific TLP, identified by sequencenumber, in a retry buffer until it gets an ACK DLP from the receiver atthe other end of the link. If an error was detected by the receiver, anNAK DLP is sent and the sender resends the particular TLP from it'sretry buffer.

-   -   Additional error checking is done by the end device/receiver,        per the “Malformed TLP” mechanism. The receiver is required by        the PCI Express protocol to check for discrepancies in the        length field, max payload size, TD bit vs. the presence of a        digest field, and memory requests that cross 4 k boundaries.

2. The second level is the inherent TCP error handling mechanism for TCPpackets. As the PCI Express packet is encapsulated in a TCP packet, asequence number is generated as part of the header. The sequence numbercorresponds to the first byte in the packet, with each subsequent bytein the packet indexed incrementally. The receiver returns an ACK with asequence number that corresponds to“the-last-byte-it-received-without-error+1” (the next byte it needs fromthe sender). The sender then transmits (or retransmits) beginning withthe last sequence number ACKed.

i(e)-PCI and i(dc)-PCI include the first level PCI Express errorhandling mechanisms for TLPs, but do not include the second level TCPerror handling mechanism. The lack of the second level error handling isoffset by the simpler (less error-prone) network topology associatedwith these implementations.

Data Coherency

It is important to ensure endpoints and applications always have theintended data (no less/no more) in the order it was intended, at thetime it was intended.

System Timeouts

With an extended system, timeouts that are optimized for a localized usebecome problematic. This section addresses the different categories oftimeouts and how the i-PCI protocol handles these timeout mechanisms.

PCI System Timeouts

The PCI Express Specification includes a timeout mechanism for splittransaction completion. Any PCI Express device that issues requestsrequiring completions must implement the completion timeout mechanism.The requirements for this timer are:

-   -   Must not expire in less than 50 μs.    -   Should not expire in less than 10 ms.    -   Must expire if transaction is not completed within 50 ms.

If the timer expires, it results in the generation of an

Uncorrectable, Non Fatal error.

Driver and Application Timeouts

I/O device drivers may be written to include intentional timeouts.Typically, these timeouts do not occur during initialization, but areseen from within an executing application that uses the driver. The maintypes of driver timeouts seen are:

1. Device query response time. If a device does not respond to a querywithin an expected time, the driver may report an error or go into areset state.

2. Data transfer time. If a device does not return the amount of datarequired within the expected time, a driver may experience datastarvation. The driver may report an error, request a resend, or go intoa reset state.

I/O device drivers may be written in a way that unintentional timeoutsare included in the code. Device driver developers often don't validateand verify their code other than with the intended device inserted in anupper tree bus, (i.e. bus 1). There may be a lack of driver robustnessin handling extended latencies, even though longer latencies may notadversely impact the use of the device. The results of the unintentionaltimeouts can be unpredictable. If the driver is particularly poorlywritten, an unexpected termination, system destabilization, or a systemcrash results.

Applications may be written to include intentional timeouts. The maintypes of application timeouts seen are:

1. Driver response time. If a device driver is unable to deliver theresults of a device transaction within an expected time, the applicationmay erroneously assume the device is not present or it may indicate thedevice is not working properly or that the device driver is corrupted ormalfunctioning.

2. Data transfer time. If a device driver does not deliver the amount ofdata required within the expected time, the application may experiencedata starvation. The application may struggle, lurch, and perform at areduced functionality, it may stop execution and indicate the device isnot working properly, it may indicate the device has beenunintentionally removed, or indicate the device driver is corrupted ormalfunctioning.

Applications may be written in a way that unintentional timeouts areincluded in the code. Applications developers often don't validate andverify their code other than with the intended device inserted in anupper tree bus, (i.e. bus 1). There may be a lack of applicationrobustness in handling extended latencies, even though longer latenciesmay not adversely impact the use of the device. The results of theunintentional timeouts can be unpredictable. If an application isparticularly poorly written, an application may freeze or terminate andexit without explanation.

It can be concluded that i-PCI must include mitigation for driver andapplication timeouts.

Timeout Mitigation and Handling:

i-PCI must handle the three categories of timeout mechanisms:

1. PCI System Timeouts

2. Driver Timeouts

a. Intentional

b. Unintentional

3. Application Timeouts

a. Intentional

b. Unintentional

i-PCI timeout mitigation and handling is implemented in the HBA. The HBAincludes a remote device resource cache reflector/mapper (RCR/M) andbuffer memory. The RCR/M—and the associated response behavior fordifferent types of transactions—are enabled or disabled by the SystemData Transfer Optimization Utility.

-   -   Configuration Registers Mirror enabled. The HBA will respond to        configuration address space transactions for remote I/O devices        and bridges.    -   The HBA configuration registers mirror is constantly updated and        kept in sync via regular i-PCI packet exchanges with the RBAs.    -   Following a configuration response, the HBA will re-sync with        the affected RBA device configuration register.    -   Data Transfer Response enabled.    -   The HBA is enabled to respond with a replay (duplicate data)        cached in the case of a read or accept data on behalf of the RBA        in the case of a write. The HBA passes the data transfer        transaction to the RBA.    -   This approach is likely to find use in applications involving        real-time low latency non-data critical applications such as        video streaming and processing.    -   PCI System Timeout handler enabled.    -   The HBA keeps a table of latency measurements, updated regularly        via i-PCI packet exchanges with the RBAs.    -   The table of latency measurements is initialized by the System        Data Transfer Optimization Utility and accessed by the System        Data Transfer filter driver during system initialization.    -   Table of latency lists measurements are indexed by RBA, bridge,        and by device so that latency variations can be accounted for.

If the latency measurements indicate that the PCI System CompletionTimer is likely to expire in a device, bridge or root complex whenposting transactions to an RBA, the completion timeout mask in the rootport is set to prevent reporting this error to the system. Thus theerror is disabled.

Dynamic Resource Add and Removal

PCI Express includes native support for “non-surprise hot-plug”. i-PCIpreserves this capability for the host operating system to re-enumeratethe PCI system and re-allocate/reassign resources during runtime. Anexample of this for i-PCI is if a user hot-swaps (a hot-remove followedby a hot-plug) an expansion card in one of the Remote I/O units. Supportof this scenario is an important requirement for high reliability/highavailability or non-stop applications. The hot swap function is definedby the following steps:

1. User-initiated notification of hot swap intent.

2. Physical ability to access and remove/replace a failing expansioncard

3. Shutdown of the associated applications and drivers and shutdown ofpower to the slot.

4. Ensuring the Operating System and unrelated applications remainrunning and unaffected while hot-swap is occurring.

5. User-initiated notification of hot swap completion.

6. Reapplication of power to the slot and restart/reload of theassociated applications and drivers.

7. Resumption of tasks.

The HBA includes the ability to detect and snoop the PCI Express hotswap packet traffic. The HBA then updates the PCI System mirror(resource cache reflector/mapper or “RCR/M”) for all changes (if therewere any net changes) that occurred as a result of the dynamicadd/removal of resources.

System Performance I-PCI HBA Spoof Implementation Performance

PCI Express can be classified as a high bandwidth, low overhead, lowlatency interconnect. In order to serve as a viable transport, i-PCImust retain or mitigate these basic performance characteristics. 10GEthernet provides the raw bandwidth necessary to preserve the highbandwidth characteristic and in fact is what makes i-PCI possible. Withthe basic bandwidth requirements addressed, the low overhead and lowlatency characteristics remain the primary performance challenges fori-PCI.

Performance Classes:

Application software, Operating System, and I/O driver drivertransparency—all goals of i-PCI-does not mean that performance isexpected to be identical to the default native PCI bus or PCI Expressimplementation. In the majority of applications, there will be somenotable difference when comparing the performance in an i-PCIimplementation to the default native PCI bus or PCI Expressimplementation. It is useful to define a class system to categorize thisrelative difference. The class system helps avoid the tendency tocategorize an application as “it works over i-PCI or it doesn't workover i-PCI” or that it “works, but . . . just sort of”. A class systemprovides common definitions for considering and discussing thesuitability of an application for i-PCI. With this background in mind, aclass system for i-PCI performance is defined:

Class I: Class I performance: There is no measurable difference, at theapplication level, when comparing the performance in a given i-PCIimplementation to the default native PCI bus or PCI Expressimplementation on the same host system.

Class II: Class II performance: There is a measurable difference, at theapplication level, when comparing the performance in a given i-PCIimplementation to the default native PCI bus or PCI Expressimplementation on the same host system. However, the application runswithin an acceptable performance range as specified by the supplier.

Class III: Class III performance: There is a significant measurabledifference, at the application level, when comparing the performance ina given i-PCI implementation to the default native PCI bus or PCIExpress implementation on the same host system. The application runswithout error, but with limited or reduced capability and effectiveness.

Class IV: Class IV performance: There is a major measurable difference,at the application level, when comparing the performance in a giveni-PCI implementation to the default native PCI bus or PCI Expressimplementation on the same host system. The application loads and runs,but is prone to occasional errors or unexpected termination.

System Data Transfer Optimization Utility and Driver:

In consideration of a given system, there are many variables that affectapplication performance. To achieve maximum performance, the entire datapipeline must be considered and bottlenecks identified and mitigated. Tomaximize performance, the host motherboard design, the chipset registersettings, the PCI bridge and switch configurations, the I/O driver codedata transfer methods, bus traffic interactions, must all be consideredand configured to work together. Typically, no two systems areidentical. To achieve maximum performance, each system must be tunedspecifically for a given configuration. Most users lack the systemsanalysis ability to identify where a bottleneck is in a data pipeline.It is difficult to optimize systems even with a basic PCI system. Withi-PCI, the number of variables in play becomes even more challenging,necessitating a different approach. The System Data TransferOptimization Utility and Driver are tools to address this challenge.

The System Data Transfer Optimization Utility is a boot-diskuser-launched program that runs following the BIOS scan andconfiguration of the PCI System. The utility takes user inputinformation regarding the system configuration and optimization goals,scans the system, initializes the HBA Remote Device Resource CacheReflector/Mapper (RCR/M), tunes the data pipeline according to a desiredperformance emphasis, and displays the configuration results.

-   -   Creation of the PCI □ □ IP Address Mapping Table is accomplished        by the System Data Transfer Optimization Utility.    -   Additional Utility Options include:    -   Enable/Disable HBA RCR/M.    -   Maximize Data Transfer Performance    -   Minimize Latency    -   Balance Data Transfer Performance and Latency    -   Manual Adjustment of Settings    -   Monitor Application    -   The System Data Transfer Driver is a filter driver that can be        loaded to run automatically during the Operating System        enumeration of the PCI System. It automatically verifies and        adjusts settings according to a referenced table previously        defined by the System Data Transfer Optimization Utility.    -   The Driver can be selected to run or not to run via a setup menu        option in the System Data Transfer Optimization Utility.

HBA Transaction Logging and Optimization Algorithm:

In a long term stable system implementation, where there are few changesin the configuration and tasks being performed are repetitive, datatransfers settle into repeatable and predictable patterns. Certain datatransfer types emerge as prevalent is association with a particular I/O.It is possible to optimize I/O performance over time, by monitoringthese data transfers and making dynamic adjustment to the transferpipeline configuration to tailor the pipeline to the prevalent datatransfer type. The HBA transaction logging and optimization (TLO)algorithm performs this function for i-PCI.

TLO runs on the HBA i-PCI □ □ PCIe Controller. This algorithm is alearning algorithm that focuses on optimizing the i-PCI □ □ PCIeprotocol section of the data pipeline.

-   -   The HBA transaction logging and optimization algorithm can be        engaged or disengaged via a setup menu option in the System Data        Transfer Optimization Utility.

Data Transfer Rates

As a baseline in considering i-PCI data transfer rates, it is useful tohave as a reference, the theoretical performance vs. typical performanceachievable for PCI, and PCIExpress. Refer to Table 34, PCI and PCIExpress data transfer rates.

The expected data transfer rates for various transactions is shown inTable 35, i-PCI Data Transfer Rates for the 3 basic implementations ofthe i-PCI HBA Spoof:

-   -   i-PCI IP-based Network Implementation    -   i(e)-PCI MAC-Address Switched LAN Implementation    -   i(dc)-PCI Direct Connected Implementation

TABLE 34 PCI and PCI Express Data Transfer Rates. Theoretical TypicalPerformance (Host Motherboard) Peak Data Data Transaction Data TransferRate Bus Type Category Transfer Rate Payload Type Peak Typical PCI 2.5Gbps, ←→ 4 Gbps 240 DW MEM READ 2.4 Gbps 2.0 Gbps Express x1 MEM WRITE2.6 Gbps 2.2 Gbps → 2 Gbps 240 DW MEM READ 1.2 Gbps 1.0 Gbps MEM WRITE1.3 Gbps 1.1 Gbps 2.5 Gbps, ←→ 16 Gbps 240 DW MEM READ 13 Gbps 12 Gbpsx4 MEM WRITE 14 Gbps 13 Gbps → 8 Gbps 240 DW MEM READ 6.5 Gbps 6 GbpsMEM WRITE 7 Gbps 6.5 Gbps PCI 32-bit 1 Gbps 240 DW MEM READ 640 Mbps 520Mbps 33 MHz MEM WRITE 720 Mbps 640 Mbps

The data transfer rates listed are considered preliminary estimates andare useful for relative comparison purposes. Actual data transfer rateswill vary considerably depending the particular system. Table 35 will bevalidated and updated with actual results from the proof-of-concepteffort.

TABLE 35 i-PCI Data Transfer Rates. Theoretical Peak Data ExpectedTypical Performance Transfer Data Rate Payload Data HBA Spoof (10 GbpsTransaction Transfer Rate Implementation 802.3an) Type Peak Typicali-PCI 10 Gbps 240 DW 6.5 Gbps   4 Gbps i(e)-PCI 10 Gbps 240 DW 7 Gbps 5Gbps i(dc)-PCI 10 Gbps 240 DW 8 Gbps 6.5 Gbps  

From the Data Transfer Rate tables, it can be concluded that the i-PCIHBA Spoof over 10 Gbps 802.3an has more than adequate bandwidth tohandle conventional PCI, adequate bandwidth to match up with ×1 dualsimplex PCI Express, and borderline adequate (implementation dependent)bandwidth to handle ×4 single direction PCI Express. Applications thatrequire PCI Express ×4 dual simplex simultaneous data transfers willhave impacted performance.

i-PCI data transfer rates could be scaled up to meet the needs ofdemanding PCI Express applications by implementing multiple (×2, ×3 . .. ) 10 Gbs physical connections. This is the same approach used for theLE(dc) variation involving Triple link aggregation 1 Gbps Ethernet(802.3ab) for mapping to I-Lane 2.5 Gbps. Except in this case, it isfocused on the high end with multiple 802.3an links. Refer to FIG. 52,Example Paralleled Architecture.

Overhead

As a baseline in considering i-PCI data transfer rates, it is useful tohave as a reference, the overhead for various PCI, and PCI Express datatransactions. Refer to Table 36, PCI and PCI Express Overhead.

The expected overhead for these same transactions is shown in Table 37,i-PCI Overhead for the 3 basic implementations of the i-PCI HBA Spoof:

-   -   i-PCI IP-based Network Implementation    -   i(e)-PCI MAC-Address Switched LAN Implementation    -   i(dc)-PCI Direct Connected Implementation

TABLE 36 PCI and PCI Express Overhead Header + Total Type of TrailerPayload Frame/Transaction Protocol Transfer (bytes) (bytes) (bytes)Efficiency PCI Single Byte N/A  1 byte** Addr + Data = 8 bytes 12.5%Data Write Memory N/A 960 bytes Addr + Data = 964 bytes 99.6% WriteMultiple (240 DW) PCI TLP Single 24  1 byte** 28 bytes 3.6% Express*Byte Write Request Memory 24 960 bytes 984 bytes 97.6% Write Request(240 DW) *PCI Express TLP = 1B + 2B + 3DW + 1DW + 1DW + 1B = 24 bytes**Minimum payload size is 1 DW

Overhead becomes especially critical for small frequent data transferswith little or no payload, such as Read requests, Message requests, andother brief syncing, polling, and handshaking transactions. This “smallpacket” traffic should be minimized in i-PCI implementations.

TABLE 37 i-PCI Overhead Header + Total Type of Trailer PayloadFrame/Transaction Protocol Transfer (bytes) (bytes) (bytes) Efficiencyi-PCI* Single Byte 91 bytes 1 byte** 95 bytes 1.1% Data Write Memory 91bytes 960 bytes 1051 bytes 91.3% Write Multiple (240 DW) i(e)-PCI***Single Byte 51 bytes 1 byte** 55 bytes 1.8% Data Write Memory 51 bytes960 bytes 1011 bytes 95.0% Write Multiple (240 DW) i(dc)- Single Byte 47bytes 1 byte** 51 bytes 2.0% PCI**** Data Write Memory 47 bytes 960bytes 1007 bytes 95.3% Write Multiple (240 DW) *i-PCI header = PCIExpress + i-PCI + TCP + IP + Ethernet preamble + header + CRC = 24B +1B + 20B + 20B + 26B = 91 bytes **Minimum payload size is 1 DW***i(e)-PCI header = PCI Express + i-PCI + Ethernet preamble + header +CRC = 24B + 1B + 26B = 51 bytes ****i(dc)-PCI header = PCI Express +i-PCI + Ethernet preamble + CRC = 24B + 1B + 22B padding for minEthernet payload of 46 bytes) = 47 bytes

In review of Tables 36, 37 it can be seen that the impact ofencapsulation of PCI Express via the i-PCI results in an efficiency hitof approximately 2-6% for bulk transfers and roughly a halving in theefficiency for the smallest transactions. The very poor efficiency forsmall transactions inherent to PCI Express is carried forward into i-PCIand further exacerbated.

Latency

Latency is a big performance challenge for i-PCI. It is expected thatlatency will surface as a problem for certain applications, thus a bigfactor in establishing a performance Class system for applicationsrunning i-PCI. As a baseline in considering i-PCI latency, it is usefulto have as a reference, the typical latency observed for PCI, and PCIExpress. Refer to Table 38, Typical PCI and PCI Express Latency.

TABLE 38 Typical PCI and PCI Express Latency. One-way data Latency perbus segment object path latency Protocol Data Path (μS) (μS)** PCI Bus 0North Bridge, Bus 0 = 0 .400 End Device Latency* = .400 Bus 0 to NorthBridge, Bus 0 = 0 1.15 Bus 6 Bridge 1, Bus 2 = .150 Bridge 2, Bus 3 =.150 Bridge 3, Bus 4 = .150 Bridge 4, Bus 5 = .150 Bridge 5, Bus 6 =.150 End Device Latency* = .400 PCI Bus 1 Root Complex, Bus 0 = 0 .400Express End Device Latency* = .400 Bus 0 to Root Complex, Bus 0 = 0 2.5Bus 6 Switch 1 (PCI/PCI Bridge, Bus 1, PCI/PCI Bridge) Bus 2 = .700Switch 2 (PCI/PCI Bridge, Bus 3, PCI/PCI Bridge) Bus 4 = .700 Switch 3(PCI/PCI Bridge, Bus 5, PCI/PCI Bridge) Bus 6 = .700 End Device Latency*= .400 Bus 0 to Root Complex, Bus 0 = 0 1.3 Bus 6 Switch 1 (PCI/PCIBridge, Bus With switch 1, PCI/PCI Bridge) Bus 2 = mode set .300 to“cut- Switch 2 (PCI/PCI Bridge, Bus through” 3, PCI/PCI Bridge) Bus 4 =.300 Switch 3 (PCI/PCI Bridge, Bus 5, PCI/PCI Bridge) Bus 6 = .300 EndDevice Latency* = .400 *baseline end device= **x2 for roundtrip latency

Refer to Table 39, i-PCI Latency for the latency anticipated for the 3basic implementations of the i-PCI HBA Spoof:

1. i-PCI IP-based Network Implementation

2. i(e)-PCI MAC-Address Switched LAN

Implementation

3. i(dc)-PCI Direct Connected Implementation

TABLE 39 i-PCI Latency. One-way data path latency Protocol Data PathLatency per bus segment object (uS) (uS)** i-PCI Bus 0 to Root Complex(Bus 0, Root port 1) Bus 1 = 0 150,125 HBA to HBA: PCIe Switch (PCI/PCIBridge, (150.125 mS) RBA via Bus 2, PCI/PCI Bridge) Bus 3 = .700Internet HBA: FPGA PCI Bridge (PCI/PCI (Gateway Bridge) Bus 8 = .150Router) HBA: FPGA Packet Processing = .500 HBA: FPGA transfer to NIC =.400 HBA: NIC: Packet Processing = .500 LAN Ethernet Switch = 60Internet = 150000 (150 mS) LAN Ethernet Switch = 60 RBA: NIC: PacketProcessing = .500 RBA: NIC transfer to FPGA = .400 RBA: FPGA PacketProcessing = .500 RBA: FPGA PCI Bridge (PCI/PCI Bridge) Bus 9 = .150***RBA: Switch 1 (PCI/PCI Bridge, Bus 10, PCI/PCI Bridge) Bus 11 = .700End Device Latency* = .400 Bus 0 to Root Complex (Bus 0, Root port 1)Bus 1 = 0 1625 HBA to HBA: PCIe Switch (PCI/PCI Bridge,   (1.625 ms) RBAvia Bus 2, PCI/PCI Bridge) Bus 3 = .700 Campus HBA: FPGA PCI Bridge(PCI/PCI Area Bridge) Bus 8 = .150 Network HBA: FPGA Packet Processing =.500 (CAN) HBA: FPGA transfer to NIC = .400 HBA: NIC: Packet Processing= .500 LAN Ethernet Switch = 60 Campus Network (includes Core Routers) =1500 (1.5 mS) LAN Ethernet Switch = 60 RBA: NIC: Packet Processing =.500 RBA: NIC transfer to FPGA = .400 RBA: FPGA Packet Processing = .500RBA: FPGA PCI Bridge (PCI/PCI Bridge) Bus 9 = .150 ***RBA: Switch 1(PCI/PCI Bridge, Bus 10, PCI/PCI Bridge) Bus 11 = .700 End DeviceLatency* = .400 i(e)-PCI Bus 0 to Root Complex (Bus 0, Root port 1) Bus1 = 0 65 HBA to HBA: PCIe Switch (PCI/PCI Bridge, RBA via Bus 2, PCI/PCIBridge) Bus 3 = .700 Local Area HBA: FPGA PCI Bridge (PCI/PCI NetworkBridge) Bus 8 = .150 (LAN) HBA: FPGA Packet Processing = .500 HBA: FPGAtransfer to NIC = .400 HBA: NIC: Packet Processing = .500 LAN EthernetSwitch = 60 RBA: NIC: Packet Processing = .500 RBA: NIC transfer to FPGA= .400 RBA: FPGA Packet Processing = .500 RBA: FPGA PCI Bridge (PCI/PCIBridge) Bus 9 = .150 ***RBA: Switch 1 (PCI/PCI Bridge, Bus 10, PCI/PCIBridge) Bus 11 = .700 End Device Latency* = .400 Bus 0 to Root Complex(Bus 0, Root port 1) Bus 1 = 0 7.6 HBA to HBA: PCIe Switch (PCI/PCIBridge, RBA Bus 2, PCI/PCI Bridge) Bus 3 = .700 With LAN HBA: FPGA PCIBridge (PCI/PCI Ethernet Bridge) Bus 8 = .150 switch set to HBA: FPGAPacket Processing = .500 “cut- HBA: FPGA transfer to NIC = .400 through”HBA: NIC: Packet Processing = .500 mode. LAN Ethernet Switch = 2.7 RBA:NIC: Packet Processing = .500 RBA: NIC transfer to FPGA = .400 RBA: FPGAPacket Processing = .500 RBA: FPGA PCI Bridge (PCI/PCI Bridge) Bus 9 =.150 ***RBA: Switch 1 (PCI/PCI Bridge, Bus 10, PCI/PCI Bridge) Bus 11 =.700 End Device Latency* = .400 i(dc)- Bus 0 to Root Complex (Bus 0,Root port 1) Bus 1 = 0 4.9 PCI HBA to HBA: PCIe Switch (PCI/PCI Bridge,RBA Bus 2, PCI/PCI Bridge) Bus 3 = .700 HBA: FPGA PCI Bridge (PCI/PCIBridge) Bus 8 = .150 HBA: FPGA Packet Processing = .500 HBA: FPGAtransfer to NIC = .400 HBA: NIC: Packet Processing = .500 RBA: NIC:Packet Processing = .500 RBA: NIC transfer to FPGA = .400 RBA: FPGAPacket Processing = .500 RBA: FPGA PCI Bridge (PCI/PCI Bridge) Bus 9 =.150 ***RBA: Switch 1 (PCI/PCI Bridge, Bus 10, PCI/PCI Bridge) Bus 11 =.700 End Device Latency* = .400 *typical end device. **x2 for roundtriplatency. ***not necessary if RBA is conventional PCI.

The latencies listed are considered preliminary estimates and are usefulfor relative comparison purposes only. Actual latency will varyconsiderably depending on the particular system. Table 39 will bevalidated and updated with actual results following the proof-of-concepteffort.

-   -   It is anticipated that the latencies introduced by the i(dc)-PCI        and i(e)-PCI will not adversely impact most PCI System        applications as latencies remain in the sub 100 μs range. It is        expected that the latencies introduced by the i-PCI        implementation will require mitigation measures such as mirror        and cache to reflect the remote I/O resources.        i-PCI HBA Cut-Through Mode:

The RCR/M may be totally disabled, so that all PCI transactions aresimply passed through to the RBA. This may be satisfactory for i(dc)-PCIor i(e)-PCI implementations where there is little additional latencyintroduced and a simplified approach is a viable solution.

With the eventual acceptance and adoption of i-PCI, the PCI ExpressStandard, Operating System PCI bus drivers, PCI device drivers, andapplications will be written, validated, and verified for i-PCIimplementations. This acceptance should reduce the incidence ofunintentional timeouts and improve code robustness at all levels, thusreducing the need for timeout mitigation. The class system defined byi-PCI should allow developers to establish various levels of operabilityor features for applications. This flexible as opposed to the rigid “allor nothing” approach in regards to functionality should result inimproved user experience.

i-PCI System Timing Diagrams:i-PCI (WPAN)

The i-PCI baseline protocol addresses three hardwired implementations,i-PCI, i(e)-PCI and i(dc)-PCI. However, it is desirable to includewireless implementation options as well. Therefore, the i-PCI protocolmay be extended to encompass three additional implementations in thewireless category: 1) i-PCI for wireless metropolitan area networks, 2)i-PCI for wireless local area networks and 3) i-PCI for wirelesspersonal area networks.

One important implication for wireless implementations, is that i-PCIenables a very simple low-cost low-power handheld host such that it mayconsist of just a CPU/display/user inputs, yet via i-PCI the rest of thehost system is located remote on a network. The end result is a simplelow-cost PC compatible portable handheld that appears to the user as afully expandable PC, as the rest of the PC is physically left behind onthe network.

Basic data transfer performance-matching requirements for PCI and PCIexpress suggest a data rate >=1 Gbps is the low-end performancethreshold for i-PCI. This is based on the fact that the legacy PCI busis based on 32 bits/33 MHz=1056 kbps data transfer capability.

To date, wireless capability has been limited to a maximum ofapproximately 500 Mbps, so a satisfactory wireless i-PCI solution wasnot feasible. However, there has been significant recent progress in thedevelopment of high data rate wireless technologies, particularly in thearea of Wireless Personal Area Networks (WPAN).

Therefore, at this time we are able to proceed with the preliminarydefinition of a WPAN implementation for i-PCI, designated i-PCI(WPAN).WLAN and WMAN implementations will be defined at the point that adequatedata performance is developed in those respective wireless categories.

It is desirable to define the WPAN implementation as a subset of thebase or “umbrella” i-PCI protocol. This is the same approach taken withthe hardwired variations, i(e)-PCI and i(dc)-PCI. Thus, the i-PCI WPANimplementation definition is limited to a variation in the definition ofthe Data link and Physical layers of the base i-PCI protocol.Essentially, this means that a wireless version of the network link isdefined. Instead of a hardwired Ethernet link, a wireless link issubstituted. In a physical realization, this amounts to a wirelessversion of the host bus adapter and remote bus adapter.

In a wireless version of the host bus adapter and remote bus adapter, aBaseband Processor (BBP), transceiver, Front End (FE), and antenna issubstituted for the 10GBASE-T PHY. See FIG. 53, i-PCI (WPAN) Data Link.

The next concern to be addressed is that of available radio spectrum.Two unlicensed radio spectrum bands are the current focus of WPANresearch and development efforts: 1) 57-66 GHz. and 2) and 3.1-10.6 GHz.Both bands have the basic raw bandwidth necessary to meet the minimumlow-end performance threshold for i-PCI. Therefore both will be reviewedto arrive at the best option for i-PCI.

The 57-66 GHz band is commonly referred to as the mmWave band [19][20].The specific band limits for the mmWave band vary throughout the world,but a continuous 5 GHz of bandwidth, from 59-64 GHz, is available incommon in the major economic markets. See Table 40, mmWave bands.

The 3.1-10.6 GHz band is commonly referred to as “Ultra Wide Band” orsimply UWB [21][22][23]. The specific band limits for UWB varysignificantly throughout the world. See Table 41, UWB bands. Note thatonly the available continuous unrestricted bands are listed. From Table41, it can be seen that although there is 7.5 GHz available in the USAand Canada, only a continuous 1.6 GHz of bandwidth, from 7.4-9 GHz isavailable in common for the major economic markets.

TABLE 40 mmWave Bands Maj Markets Available bands Net BW USA & Canada 57− 64 GHz 7 GHz Japan 59 − 66 GHz 7 GHz Europe 57 − 66 GHz 9 GHz

TABLE 41 UWB Bands Maj Markets Available bands Net BW USA & Canada 57 −64 GHz 7 GHz Japan 59 − 66 GHz 7 GHz Europe 57 − 66 GHz 9 GHz

Utilization is an important consideration, as a highly utilized spectrumis an indication that interference is likely to be an issue if i-PCIwere to utilize the band.

UWB shares the frequency range with many other licensed and unlicensedapplications, notably 802.11a. Thus, WPAN protocols are severelypower-limited to keep from interfering with the licensed applicationsand to minimize interference with other unlicensed applications. SeeFIG. 54, 3.1-10.6 GHz WPAN Radio Spectrum.

The mmWave band, is largely under-utilized. See FIG. 15, 57-66 GHz WPANRadio Spectrum. This is attributable to two primary factors. First, thisfrequency range falls in the O2 absorption band. The resulting signalattenuation limits applications. Second, the relatively high frequencyis at the upper limit of CMOS integrated circuit fabrication processes,so circuit fabrication is costly compared to lower frequencies.

Given a cursory inspection of the two figures, it is obvious the3.1-10.6 GHz spectrum is a much heavier utilized than the 57-66 GHzspectrum.

Another consideration is the allowable transmit power. The FCC limitsthe WPAN applications in the 3.1-10.6 GHz spectrum to UWB technologies,where the 10 dB BW is >500 MHz and the RMS power is <−41.3 dBm (1 mW)EIRP. This severe power limitation creates a significant challenge forrealizing the high data rates required for i-PCI. On the other hand, theFCC limits the WPAN applications in the 57-66 GHz band to 27 dBm (500mW) and EIRP is not specified. Since EIRP is not specified, thedirectional concentration of transmit power can easily approach 8000 mW,enabling a healthy S/N ratio that could facilitate high data rates.

Channel propagation characteristics are a concern for both unlicensedbands. Channel modeling and measurements for the 57-66 GHz spectrumindicate that aside from the mentioned O2 absorption, seriousattenuation scattering and signal blockage is to be expected.

Other decision parameters may be categorized as “enabler” or “synergy”.By enablers what is meant is are there technologies in development, forinstance suitable radio platforms, which may be leveraged and adaptedfor use by i-PCI (WPAN)? By synergy, what is meant is are there ongoingindustry research efforts, such as standards efforts, that arecomplimentary in nature to the goals of i-PCI (WPAN)? Table 42, i-PCI(WPAN) Tradeoffs, summarizes the issues.

TABLE 42 i-PCI (WPAN) Tradeoffs Category Consideration UWB mmWavePerform BW 1.6 GHz 5 GHz Interference Significant Minimal Max <−41/3 dBm27 dBm Xmit Power (1 mW) EIRP (500 mw) EIRP not specified Channel FSpaceLoss <<mmWave O₂, people, Blockage, Objects, furniture, etc ReflectionEnabler Applicable ECMA-368, 369 802.15.3b, c Radio Platform SynergyApplicable 802.11 VT 802.15.3c Stds Efforts (3-5 Gbps) (2-6 Gbps)

In weighing all the various factors, parameters, and issues, it may beargued that the 59-64 GHz “mmWave” band offers the best opportunity fori-PCI.

As a starting point, it is useful to establish the theoretical capacityof the mmWave band. For these preliminary calculations, the continuous 5GHz of bandwidth (BW), from 59-64 GHz (available in common in the majoreconomic markets) is assumed as the band of potential operation fori-PCI. 16-QAM is assumed as a reasonable modulation scheme and a SNR of15 dB is assumed to be a nominal value.

BW=5·10⁹ Max Baud Rate: 2·BW=10·10⁹ sps Bits per Symbol: 4 (i.e. 16-QAM)Nyquist Limit: C=2·BW·Log₂(M)=40·10⁹ bps Shannon Capacity:

S=500 mW and N=16 in W (SNR=15 dB)

$C = {{{BW} \cdot \frac{\ln \left( {1 + \frac{S}{N}} \right)}{\ln (2)}} = {{25.144 \cdot 10^{9}}\mspace{14mu} b\; p\; s}}$

These preliminary calculations verify that in theory there is adequatebandwidth to accommodate the data rates required for i-PCI. Indeed thecalculations indicate that 25 Gbps is feasible if the entire 5 GHzbandwidth could be utilized by i-PCI.

The i-PCI WPAN implementation is positioned as a subset of the base or“umbrella” i-PCI protocol, defining a wireless version of the data linkand physical layers. The data link and physical layers encompass whatwill be referred to collectively as the “i-PCI radio platform”.

In consideration of where to start in defining the radio platform oneapproach is to look at the enablers and synergies that exist in thesolution space. It is good practice and just common sense to leverageindustry standard efforts wherever possible to avoid re-solving problemsthat have already been addressed. In the mmWave space, this meansconsidering the current activities of the IEEE 802.15™ Working Group.

The IEEE 802.15™ Working Group has defined a wireless ad hoc “piconet”data communications system designed to enable wireless connectivity ofhigh-speed, low-power, low-cost multimedia-capable devices. A piconet isdefined as a wireless ad hoc network covering a relatively small range(<10 m radius). The base standard for this ad hoc piconet communicationssystem is 802.15.3-2003. This base standard was originally written forthe 2.4 GHz band.

The IEEE 802.15 Working Group has also defined an amendment to the basestandard MAC layer for WPAN via standard 802.15.3b-2005.

In 2005, the IEEE 802.15™ Working Group formed a task group, referred toas Task Group 3c (TG3c) to focus on extending the base standard toinclude the mmWave band.

Task Group 3c has settled on a channel plan that divides the mmWaveSpectrum into four channels of 2.160 GHz each. The middle two channels(Channel 2, 3) cover the afore-mentioned continuous 5 GHz of bandwidth,from 59-64 GHz that is in common in the major world economic markets.See Table 43, mmWave Channel Plan.

TABLE 43 mmWave Channel Plan Start Center Stop Channel Number FrequencyFrequency Frequency 1 57.240 GHz 58.320 GHz 59.400 GHz 2 59.400 GHz60.480 GHz 61.560 GHz 3 61.560 GHz 62.640 GHz 63.720 GHz 4 63.720 GHz64.800 GHz 65.880 GHz

The IEEE 802.15 Task Group 3c is nearing final definition of analternative PHY layer to enable transmission in the mmWave band. andassociated enhancements to the 0.3b MAC layer. The Task Group 3cdefinitions of the PHY and MAC layers for the mmWave band may beleveraged to define the i-PCI Radio Platform. All that is needed inaddition to these base standards is a Radio Platform Interface (RPI)between the i-PCI Protocol Logic and the IEEE 802.15.3b MAC. See FIG.56, i-PCI Radio Platform Block Diagram.

The RPI contains the Device Management Entity (DME) function and FrameConvergence Sub-layer (FCSL) as defined by the 802.15.3b standard aswell as other HBA/RBA management functions. The 802.15.3b standardrefers to the DME/Convergence combination as the Protocol AdaptationLayer. See FIG. 57, Layer Model.

The DME serves as the interface to the MAC and PHY sub-layer managemententities (MLME and PLME respectively) and provides high-levelconfiguration and status reporting capability. The FCSL is specific fori-PCI(WPAN) and provides the i-PCI TLP PDU translation between the i-PCIProtocol logic and the 802.15.3b MAC.

The impact on the i-PCI Protocol Suite is illustrated in FIG. 58, i-PCI(WPAN) Protocol Suite, with the RPI firmware (RFP FW) block highlightedbold. Note that for direct expansion of a host system via a mmWave link,TCP and IP would not be implemented

Packet formation for i-PCI(WPAN) begins with encapsulation of PCIExpress Transaction Layer packets, in conceptually the same approach aswith the other i-PCI implementations. However, the encapsulation at thedata link and physical layers is different for i-PCI(WPAN). See FIG. 59,i-PCI Encapsulation.

At the datalink layer, the timing and framing defined for the 802.15.3come into play. Encapsulation of the i-PCI PDU is within the 802.15.3bMAC frame and the 802.15.3c PHY frame.

The MAC frame includes the MAC header, payload (the i-PCI PDU), and aFrame Check Sequence (FCS). The MAC header is 80 bits (10 octets) inlength. The payload can range in size from 0 to 2044 octets. The FCS isa 32-bit (4 octets) CRC and is calculated over the entire payload.

The PHY frame includes a Preamble, PHY Header, MAC Header, Header CheckSequence (HCS), Reed Solomon parity bits, payload (the i-PCI PDU), andStuff bits (as necessary). Multiple transmission modes are defined forthe mmWave PHY layer so the details of the packet formation and thedefinition of the PHY Frame fields vary, but the basic encapsulationremains the same.

The preamble accomplishes synchronization and channel estimation. Thepreamble length and structure varies depending on the PHY mode.

The PHY header is 80 bits (10 octets) in length. The HCS is 16 bits (2octets) in length and covers both the PHY and MAC headers. The ReedSolomon parity bit field is 16-bits (2 octets) in length and providesthe forward error correction capability (239,255) for the MAC and PHYheaders.

Once the PHY frame is formed, a Channel Time Allocation (CTA) isassigned within what is referred to as a “Superframe” in a TDMA channelaccess scheme. A device may transmit multiple frames within one CTA anda device may request multiple CTA within one superframe to reserve thebandwidth necessary to achieve the desired data transfer rate. Theduration of a superframe is configurable up to 65,535 μsec (15.259 Hz).The piconet TDMA scheme can be configured for many CTAs per superframeor a single CTA may take up an entire superframe. The CAP allocationwithin the superframe is optional.

With the basic implementation defined, we move on to discussion of theinstallation. Two i-PCI WPAN installations are envisioned. The mostbasic installation utilizes a mmWave link for direct expansion of a hostsystem via a mmWave piconet. This concept was depicted in FIG. 53,i-PCI(WPAN) Data Link, although it should be noted that more than theone remote I/O interface may be present on a mmWave piconet.

A second installation utilizes a hardwired 10 Gbps Ethernet network fora backbone with Remote I/O configured as i-PCI wireless access points.The access points would include both a regular i-PCI RBA function forinterfacing to the 10 Gbps Ethernet backbone and an i-PCI (WPAN) HBAfunction for wireless expansion via an 802.12.3 mmWave piconet. Theaccess point serves as the piconet coordinator, providing the basictiming and beacon for the piconet per 802.15.3c. See FIG. 60,i-PCI(WPAN) Backbone Installation.

Note that all the remote resources, regardless of physical location,would appear to the host system and host software as native systemmemory or I/O address mapped local resources.

Merged proposal IEEE 802.15-07-0934-01-003c and IEEE 802.15-07/942r2[19][20] include definition of three transmission modes which can beutilized by i-PCI: 1) Single Carrier (SC) mode 2) OFDM mode, and 3) AVOFDM. All three modes include definition of multi-Gbps data ratesub-modes. Each mode has advantages and disadvantages and thereforei-PCI(WPAN) protocol may allow any of the three to be implemented.Dual-mode or tri-mode HBA and RBA designs are also possible.

SC mode works well for line-of-sight applications. SC mode requires theleast circuit complexity resulting in low power, small footprint, andlow cost designs.

The OFDM mode is better suited for non line-of-sight applications andhas better potential to scale to higher data rates in the future than SCmode. Two FEC schemes are specified: 1) Reed Solomon (RS)+LPDC 2)RS+Convolution Coding (CC). The FEC result in different net data rates.

The AV OFDM mode is focused on Audio Video (AV) applications,specifically optimized for streaming uncompressed audio and highdefinition video such as HDMI. Although this mode is specificallyoptimized for AV, it may also be considered for use by i-PCI,particularly if audio or HDMI video data is utilized by an applicationor peripheral that is included in the virtualization scheme.

Each of the three modes includes a number of the sub-modes with varyingresulting data rates. Table 44, OFDM Sub-mode (>2 Gbps)

Comparison, Table 45, SC Sub-mode (>2 Gbps) Comparison, and Table 46, AVOFDM Sub-mode (>2 Gbps) shows the modulation and coding schemes employedand resulting data rates.

TABLE 44 OFDM Sub-mode (>2 Gbps) Comparison Data Rate Sub-mode FEC RateModulation Mbps RS + CC2 ⅔ QPSK 2000 RS + LDPC1 .694 QPSK 2100 RS +LDPC1 .810 QPSK 2450 RS + LDPC1 .463 16QAM 2800 RS + CC3 ½ 16QAM 3000RS + CC4 ⅔ 16QAM 4000 RS + LDPC1 .694 16QAM 4200 RS + CC5 ½ 64QAM 4500RS + LDPC1 .810 16QAM 4900 RS + CC6 ⅔ 64QAM 6000 RS + LDPC1 .694 64QAM6300 RS + LDPC1 .810 64QAM 7350

Note that only those sub-modes with data rate capability in excess of 2Gbps are listed.

As an illustration of the feasibility of i-PCI(WPAN) an examplecalculation of the net PCI Express TLP throughout is conducted. For theexample, the SC Sub-mode HR15 is assessed, which according to Table 7,has a datarate of 6.026 Gbps.

HR15 implements RS(255,239) Forward Error Correction for a FEC rate of0.937. The symbol rate is set for 1728 symbols/sec. The Spreading factoris 1 (no coding gain) and the modulation is R/2-16QAM resulting in 4bits/symbol.

Net PCI Express throughput calculations assume the following: 1) AmmWave link is used for direct expansion of a host system to a singleremote I/O via a mmWave piconet. 2) The channel access is configured fora superframe consisting of a beacon frame, no CAP, and two CTAs. One CTAis allocated for host-to-remote transmission and the second CTA isallocated for remote-to-host transmission. The period of the CTA is setto accommodate the maximum PHY frame size given the maximum i-PCI PDUsize so that no fragmentation occurs. See FIG. 61, PCI Express PayloadThroughput.

TABLE 45 SC Sub-mode (>2 Gbps) Comparison Data Rate Sub-mode FEC RateModulation Mbps MR1 .667 QPSK 2143.3 MR2 .750 QPSK 2411.2 MR3 .582 8QAM2806.6 MR4 .875 QPSK 2813.0 HR1 .933 QPSK 3000.6 HR2 .937 QPSK 3013.2HR3 .937 Dual Rail Bipolar 3013.2 HR4 .667 π/2-NS8QAM 3214.9 HR5 1.000Dual Rail Bipolar 3214.9 HR6 .750 8PSK 3616.7 HR7 .873 π/2-star 8QAM4210.0 HR8 .875 8PSK 4219.5 HR9 .933 8PSK 4500.8 HR10 .937 8PSK 4519.7HR11 .937 NS8QAM 4519.7 HR12 .750 16QAM 4822.3 HR13 .750 16QAM 4822.3HR14 .875 16QAM 5626.0 HR15 .937 16QAM 6026.3

TABLE 46 AV Sub-mode (>2 Gbps) Data Rate Sub-mode FEC Rate ModulationMbps HRP 2, 4 ⅔ QPSK 3810

The results show that 600 Mbps throughput (each direction) or 1.2 Gbpstotal is the level of performance that might be expected for HR15. Notethat this throughput estimate is for the particular scenario asdescribed. There may be other configurations and CTA assignments thatresult in better performance. The level of performance is just above thepreviously stated suggested threshold for i-PCI(WPAN): >1056 Mbps.

Future Capability

-   -   Information Assurance: Authentication and Secure communications        (encryption) will need to be added to the protocol. iSCSI        lessons-learned will need to be applied for i-PCI.    -   i-PCI Virtual PCI Spoof: This implementation option is a        software-only CPU-intensive virtual extension of the PCI System        and topology. The CPU, utilizing the system memory, handles the        protocol-processing load. This approach is targeted for use in        closed or restricted systems where it is difficult or impossible        to access the PCI Express bus or where there is a desire to        minimize the cost of implementation. This will be a significant        software effort.    -   Eliminating the need for an adapter card with a software only        implementation will be a better fit for computing machine        virtualization solutions such as VMWare.    -   i-PCI-over-Infiniband for localized server expansion is an        envisioned application. This would enable high performance (no        TCP/IP stack) close proximity expansion to PCI-X-based I/O        chassis from blade servers without external PCI system expansion        access.    -   Simultaneous sharing of I/Q functions by multiple hosts or        computing machines needs to be developed. The scope of the        initial version of i-PCI is exclusive memory mapping of I/O to a        single host.    -   i-PCI(w): Wireless PCI implementations expanded to include:    -   i-PCI (WLAN): This would cover virtualization of the local        computer bus over a wireless link in the 802.11n solution space.    -   i-PCI (WMAN): This would cover virtualization of the local        computer bus over a wireless link in the 802.16 solution space.    -   In the wireless space, the “Ether” in Ethernet certainly        applies. Otherwise, the same QOS concerns that are the focus of        and addressed by i-PCI in the 802.3 solution space apply. BW        availability that at best will approach 1 Gbps means BW        conservation solutions will need to be vigorously applied.        Loss-less data compression, techniques for multiplexing multiple        data transactions onto a single i-PCI PDU, and ACK coalescing        will likely figure into the solution set. Here the legacy system        support for 32-bit/33 MHz PCI (BW=1 Gbps) will be an enabler.        So, experience mapping 1 Gbps Ethernet (802.3ab) to a legacy        32-bit/33 MHz PCI bus should be applicable.

Though the invention has been described with respect to a specificpreferred embodiment, many variations and modifications will becomeapparent to those skilled in the art upon reading the presentapplication. It is therefore the intention that the appended claims beinterpreted as broadly as possible in view of the prior art to includeall such variations and modifications.

1. A computing system, comprising: a computing module having a hostsystem bus configured to process data and configured to handle the dataon the host system bus; at least one native I/O module operably coupledto the computing module and including an interface adapted to exchangethe data between the host system bus and at least one remote peripheraldevice having a peripheral bus in a message format according to astandardized motherboard architecture; and an encapsulation moduleconfigured to encapsulate the data available to the interface accordingto the standardized motherboard architecture into a data messageaccording to a first transport architecture.
 2. A computing system asspecified in claim 1 wherein the encapsulation module is configured toexchange the data message according to the first transport architecturewith the at least one remote peripheral device.
 3. A computing system asspecified in claim 2 wherein the data message according to thestandardized motherboard architecture is mapped into the data messageaccording to the first transport architecture.
 4. A computing system asspecified in claim 1 wherein the encapsulation module is transparent tothe computing module.
 5. A computing system as specified in claim 4wherein the encapsulation module is transparent to the remote peripheraldevice.
 6. A computing system as specified in claim 1 wherein theinterface includes a slot.
 7. A computing system as specified in claim 6wherein the encapsulation module is configured to couple to the slot. 8.A computing system as specified in claim 1 wherein the encapsulationmodule comprises a controller, wherein the controller includes aprotocol converter, memory, and buffering.
 9. A computing system asspecified in claim 8 wherein the encapsulation module includes bothfirmware and software components cooperating at a plurality ofnetworking layers to reduce latency during encapsulation.
 10. Acomputing system as specified in claim 1 wherein a device native to acomputer system architecture comprises the at least one remoteperipheral device.
 11. A computing system as specified in claim 1wherein the first transport architecture is a hardwired protocol.
 12. Acomputing system as specified in claim 11 wherein the first transportarchitecture is based on TCP/IP.
 13. A computing system as specified inclaim 11 wherein the first transport architecture is based on a LANprotocol.
 14. A computing system as specified in claim 11 wherein thefirst transport architecture is based on an Ethernet protocol.
 15. Acomputing system as specified in claim 1 wherein the first transportarchitecture is a wireless protocol.
 16. A computing system as specifiedin claim 1 wherein the computing module and the at least one native I/Omodule are remote from one another and are configured to virtualize thenative I/O module with respect to the computing module.
 17. A computingsystem as specified in claim 16 wherein the at least one remote deviceis a native system memory-mapped or I/O address mapped resource.
 18. Acomputing system as specified in claim 17 wherein the native device isselected from the group of a bridge, an I/O controller, an I/O device,and memory.
 19. A computing system as specified in claim 17 wherein themotherboard architecture is selected from the group of PCI, and PCIExpress and PCI-X.
 20. A computing system as specified in claim 17wherein the computing system is a minimal host system configured andoptimized for portability, and a substantial portion of the standardizedmotherboard architecture is located remotely from the computing systemon a network.